language: node_js

node_js:
- '7'

env:
- CXX=g++-4.8

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8

cache:
  directories:
  - node_modules

before_install:
- npm prune

# # encrypted environment variables are not available for pull requests from forks
# before_deploy:
# - git config user.name "Travis CI"
# - git config user.email "notifications@travis-ci.org"
# - git checkout master
# - git status
# - openssl aes-256-cbc -K $encrypted_449662e2943f_key -iv $encrypted_449662e2943f_iv
#   -in ./.travis/deploy_key.enc -out ./.travis/deploy_key -d
# - eval "$(ssh-agent -s)"  # start the ssh agent
# - chmod 600 .travis/deploy_key
# - ssh-add .travis/deploy_key
# - git remote add deploy git@github.com:${TRAVIS_REPO_SLUG}.git

# deploy:
#     provider: script
#     script: .travis/deploy.sh
#     # Warning: there is an unencrypted private key in the working directory.
#     # Do not deploy it anywhere.
#     skip_cleanup: true
#     on:
#       branch: master

language: node_js

node_js:
- '9'

before-install:
- npm install -g npm

env:
- CXX=g++-4.8

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8

cache:
  directories:
  - node_modules

before_install:
- npm prune

# # encrypted environment variables are not available for pull requests from forks
# before_deploy:
# - git config user.name "Travis CI"
# - git config user.email "notifications@travis-ci.org"
# - git checkout master
# - git status
# - openssl aes-256-cbc -K $encrypted_449662e2943f_key -iv $encrypted_449662e2943f_iv
#   -in ./.travis/deploy_key.enc -out ./.travis/deploy_key -d
# - eval "$(ssh-agent -s)"  # start the ssh agent
# - chmod 600 .travis/deploy_key
# - ssh-add .travis/deploy_key
# - git remote add deploy git@github.com:${TRAVIS_REPO_SLUG}.git

# deploy:
#     provider: script
#     script: .travis/deploy.sh
#     # Warning: there is an unencrypted private key in the working directory.
#     # Do not deploy it anywhere.
#     skip_cleanup: true
#     on:
#       branch: master

BUmp node and npm version in Travis
BUmp node and npm version in Travis
