Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- language: node_js
- node_js:
- - "8.7.0"
- # line 9 resolved an issue where the Travis server would
- # try to connect to my remote using ssh-dss, which then caused my
- # remote server to puke and demand a password, causing the build
- # to time out
- dist: trusty
- sudo: false
- # This keeps the "add <your-host.tld> to known_hosts" prompt from popping up
- addons:
- ssh_known_hosts:
- - <your-host.tld>:<portnumber> # if your server uses a different port for ssh
- before_install:
- - <openssl line generated by travis encrypt>
- - eval "$(ssh-agent -s)"
- - cp .travis/id_rsa ~/.ssh/id_rsa
- - chmod 600 ~/.ssh/id_rsa
- - ssh-add ~/.ssh/id_rsa
- deploy:
- - provider: script
- skip_cleanup: true
- script: <shell script/command that runs on deploy>
- on:
- branch: master
Add Comment
Please, Sign In to add comment