.travis.yml 379 B

12345678910111213141516171819202122
  1. language: node_js
  2. node_js: stable
  3. cache:
  4. directories:
  5. - "node_modules"
  6. branches:
  7. only:
  8. - master
  9. script:
  10. - npm run build:travis
  11. before_install:
  12. - ./qshell account $AK $SK
  13. - curl -o- -L https://yarnpkg.com/install.sh | bash
  14. - export PATH=$HOME/.yarn/bin:$PATH
  15. after_success:
  16. - ./qshell qupload qiniu-config
  17. - ./qshell cdnrefresh -dirs cdnrefresh-dirs.txt