language: node_js
node_js:
- '6'
before_install:
- openssl aes-256-cbc -K $encrypted_81d4cb85ffe2_key -iv $encrypted_81d4cb85ffe2_iv
  -in deploy_rsa.enc -out deploy_rsa -d
addons:
  ssh_known_hosts: 192.241.157.86
before_deploy:
- npm install -g pm2
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/deploy_rsa
- ssh-add $TRAVIS_BUILD_DIR/deploy_rsa
deploy:
  provider: script
  skip_cleanup: true
  script: npm run deploy
  on:
    branch: master

language: node_js
node_js:
- '7'
before_install:
- openssl aes-256-cbc -K $encrypted_81d4cb85ffe2_key -iv $encrypted_81d4cb85ffe2_iv
  -in deploy_rsa.enc -out deploy_rsa -d
addons:
  ssh_known_hosts: 192.241.157.86
before_deploy:
- npm install -g pm2
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/deploy_rsa
- ssh-add $TRAVIS_BUILD_DIR/deploy_rsa
deploy:
  provider: script
  skip_cleanup: true
  script: npm run deploy
  on:
    branch: master

Change node version at Travis
chore: Change node version at Travis
