Files
test-repo/.travis.yml
T
Lucas Duailibe f514d1e93f Docs build script (#3332)
* Remove artifacts from repo

* Remove docs stuff from build script

* Add new docs build script

* Add 'third-party' shim in playground worker

* Build from src if it's a PR

* Add command to package.json and remove old stuff from travis
2017-11-28 09:27:25 +11:00

26 lines
487 B
YAML

---
language: node_js
node_js:
- 4
- stable
dist: precise
cache:
yarn: true
directories:
- node_modules
env:
- NODE_ENV=development
- NODE_ENV=production
matrix:
fast_finish: true
install:
- NODE_ENV=development yarn install
before_script:
- yarn check-deps
- if [ "${NODE_ENV}" = "production" ]; then yarn build; fi
script:
- yarn lint
- yarn lint-docs
- AST_COMPARE=1 yarn test -- --runInBand
- if [ "${NODE_ENV}" = "development" ]; then yarn codecov; fi