Guest User

Untitled

a guest
Nov 17th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. language: node_js
  2. node_js:
  3. - "8.7.0"
  4.  
  5.  
  6. # line 9 resolved an issue where the Travis server would
  7. # try to connect to my remote using ssh-dss, which then caused my
  8. # remote server to puke and demand a password, causing the build
  9. # to time out
  10. dist: trusty
  11. sudo: false
  12.  
  13. # This keeps the "add <your-host.tld> to known_hosts" prompt from popping up
  14. addons:
  15. ssh_known_hosts:
  16. - <your-host.tld>:<portnumber> # if your server uses a different port for ssh
  17.  
  18. before_install:
  19. - <openssl line generated by travis encrypt>
  20. - eval "$(ssh-agent -s)"
  21. - cp .travis/id_rsa ~/.ssh/id_rsa
  22. - chmod 600 ~/.ssh/id_rsa
  23. - ssh-add ~/.ssh/id_rsa
  24.  
  25. deploy:
  26. - provider: script
  27. skip_cleanup: true
  28. script: <shell script/command that runs on deploy>
  29. on:
  30. branch: master
Add Comment
Please, Sign In to add comment