language: node_js node_js: - "8" script: - yarn lint - yarn test --ci after_success: - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bash ./scripts/deploy.sh; fi cache: yarn: true directories: - node_modules matrix: fast_finish: true