.travis.yml 422 B

12345678910111213141516171819202122
  1. sudo: required
  2. dist: trusty
  3. language: node_js
  4. node_js:
  5. - node
  6. cache:
  7. yarn: true
  8. notifications:
  9. email: false
  10. before_install:
  11. - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
  12. after_success:
  13. - 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
  14. npm run ci;
  15. npm run release;
  16. npm publish --access=public;
  17. npm run log;
  18. fi'
  19. branches:
  20. only:
  21. - staging
  22. - /^greenkeeper/.*$/