Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vn-ki committed Aug 5, 2018
1 parent 22aa98f commit 6e9c570
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sudo: false
language: generic
addons:
ssh_known_hosts: people.iiti.ac.in
before_install:
- openssl enc -aes-256-cbc -d -md md5 -in sshkey.pem.enc -out sshkey.pem -k $PASSWORD
script:
- chmod 600 sshkey.pem
- rsync -rcve 'ssh -i sshkey.pem' . [email protected]:~/public_html/ --ignore-existing --exclude '.git/**' --delete-after
branches:
only:
- master
Binary file added sshkey.pem.enc
Binary file not shown.

0 comments on commit 6e9c570

Please sign in to comment.