renovate/.travis.yml

46 lines
667 B
YAML
Raw Normal View History

notifications:
email: false
2017-11-23 09:06:10 +00:00
language: node_js
node_js:
- "8.11.1"
2017-11-23 09:06:10 +00:00
sudo: false
branches:
only:
- master
2018-07-09 08:45:35 +00:00
- stable
if: tag IS blank
2017-11-23 09:06:10 +00:00
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn install --frozen-lockfile
2017-11-23 09:06:10 +00:00
cache:
yarn: true
directories:
- ".cache"
2017-11-23 09:06:10 +00:00
- ".eslintcache"
- "node_modules"
script:
- yarn prettier --list-different
- yarn lint
- yarn jest --maxWorkers=4
2017-11-23 09:46:33 +00:00
after_success:
- yarn codecov
deploy:
provider: script
script: curl -X POST -d '{}' $NETLIFY_DEPLOY_WEBHOOK && yarn semantic-release
skip_cleanup: true
on:
branch: master