.travis.yml 399 B

12345678910111213141516
  1. sudo: false
  2. language: cpp
  3. notifications:
  4. email: false
  5. env:
  6. matrix:
  7. - TRAVIS_NODE_VERSION="4"
  8. - TRAVIS_NODE_VERSION="6"
  9. - TRAVIS_NODE_VERSION="8"
  10. - TRAVIS_NODE_VERSION="10"
  11. install:
  12. - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
  13. - node --version
  14. - npm --version
  15. - npm install
  16. script: npm test