.travis.yml 697 B

12345678910111213141516171819202122232425262728293031323334
  1. # == INSTRUCTIONS FOR SETTING UP TRAVIS ==
  2. #
  3. # 1. Find this repository in your Travis-CI dashboard.
  4. # open settings and add an environment variable called
  5. # GITHUB_ACCESS_TOKEN and set it to your personal access token.addons:
  6. # See: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
  7. #
  8. # **DO NOT TURN ON 'Display value in build log'!!!!**
  9. #
  10. # 2. Push the code to the repository.
  11. language: node_js
  12. node_js:
  13. - lts/*
  14. os: linux
  15. cache: npm
  16. branches:
  17. only:
  18. - master
  19. install:
  20. - npm ci
  21. before_script:
  22. - npm run build # use nuxt build and start to run tests
  23. script:
  24. - npm test
  25. notifications:
  26. webhooks: https://www.travisbuddy.com