.travis.yml 400 B

12345678910111213141516
  1. sudo: false
  2. language: cpp
  3. notifications:
  4. email: false
  5. env:
  6. matrix:
  7. - TRAVIS_NODE_VERSION="6"
  8. - TRAVIS_NODE_VERSION="8"
  9. - TRAVIS_NODE_VERSION="10"
  10. - TRAVIS_NODE_VERSION="12"
  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