prettier/.travis.yml

39 lines
557 B
YAML
Raw Normal View History

2017-01-11 18:52:51 +03:00
---
language: node_js
2018-05-18 06:58:37 +03:00
2017-01-11 18:52:51 +03:00
node_js:
2018-05-18 06:58:37 +03:00
- node
- "8"
2018-05-18 06:58:37 +03:00
2017-01-11 18:52:51 +03:00
cache:
yarn: true
2017-01-11 18:52:51 +03:00
directories:
- node_modules
2018-05-18 06:58:37 +03:00
env:
2018-05-18 06:58:37 +03:00
global:
- NODE_ENV=development
matrix:
- JOB=test AST_COMPARE=1
matrix:
fast_finish: true
2018-05-18 06:58:37 +03:00
include:
- node_js: "node"
env: JOB=lint
install:
2018-05-18 06:58:37 +03:00
- yarn install
before_script:
- yarn check-deps
2018-05-18 06:58:37 +03:00
script:
2018-05-18 06:58:37 +03:00
- if [ "${JOB}" = "lint" ]; then yarn lint && yarn lint-docs; fi
2018-05-18 21:00:05 +03:00
- if [ "${JOB}" = "test" ]; then yarn test --runInBand --ci; fi
2018-05-18 06:58:37 +03:00
- if [ "${JOB}" = "test" ]; then yarn codecov; fi
branches:
only:
- master