2017-03-18 01:10:09 +08:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
2019-04-09 23:25:38 +08:00
|
|
|
- "8"
|
2017-03-18 01:10:09 +08:00
|
|
|
|
2017-07-15 23:42:52 +08:00
|
|
|
script:
|
2019-04-09 23:25:38 +08:00
|
|
|
- yarn lint
|
|
|
|
- yarn test --ci
|
2017-07-15 23:42:52 +08:00
|
|
|
|
2017-07-15 23:55:45 +08:00
|
|
|
after_success:
|
2017-07-16 00:19:14 +08:00
|
|
|
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bash ./scripts/deploy.sh; fi
|
2017-07-15 23:55:45 +08:00
|
|
|
|
2017-03-18 01:10:09 +08:00
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2017-07-15 23:42:52 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|