-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ab481a
commit 20c897f
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
addons: | ||
ssh_known_hosts: | ||
- ituk.ee | ||
apt: | ||
packages: | ||
- rsync | ||
- sshpass | ||
- rsync | ||
- sshpass | ||
sudo: true | ||
dist: trusty | ||
node_js: "stable" | ||
install: npm install -g bower [email protected] && npm install --save-dev bower [email protected] gulp-jade gulp-less gulp-plumber gulp-sourcemaps gulp-uglify gulp-concat gulp-watch event-stream && bower install | ||
node_js: stable | ||
before_install: | ||
- openssl aes-256-cbc -K $encrypted_db2095f63ba3_key -iv $encrypted_db2095f63ba3_iv | ||
-in deploy_rsa.enc -out deploy_rsa -d | ||
- eval "$(ssh-agent -s)" | ||
- chmod 600 deploy_rsa | ||
- ssh-add deploy_rsa | ||
install: npm install -g bower [email protected] && npm install --save-dev bower [email protected] | ||
gulp-jade gulp-less gulp-plumber gulp-sourcemaps gulp-uglify gulp-concat gulp-watch | ||
event-stream && bower install | ||
branches: | ||
only: | ||
- master | ||
- master | ||
script: gulp compile | ||
after_success: | ||
- test $TRAVIS_BRANCH = "master" && rsync -chavzP --rsh="sshpass -p $SSH_PASSWORD ssh -o StrictHostKeyChecking=no -l $SSH_USERNAME" build/* [email protected]:/var/liitu/build | ||
- rsync -chavzP --rsh="ssh -l $SSH_USERNAME" build/* [email protected]:/var/liitu/build |
Binary file not shown.