embark/.travis.yml
Michael Bradley, Jr 53191447f5 build: use yarn for reproducible builds and CI
yarn.lock files are generated for embark and embark-ui, and their package.json
files and other npm related files are updated to support and require using yarn
for development of embark itself and for embark's CI.
2018-11-20 09:25:42 -06:00

21 lines
442 B
YAML

language: node_js
os:
- linux
- osx
node_js:
- "8.11.3"
- "8"
- "10"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
cache:
yarn: true
install:
- yarn install
- cd embark-ui && yarn install && cd ..
- git status && test -z "$(git status --porcelain)"
script:
- npm run build:node
- npm test