.travis.yml 404 B

123456789101112131415161718192021
  1. language: node_js
  2. dist: trusty
  3. os:
  4. - linux
  5. - osx
  6. node_js:
  7. - '4'
  8. - '5'
  9. - '6'
  10. - '7'
  11. - 'node'
  12. before_install:
  13. - npm i -g npm@latest
  14. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
  15. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libnotify-bin; fi
  16. jobs:
  17. include:
  18. - stage: lint
  19. script: npm run lint
  20. - stage: test
  21. script: npm test