2017-06-06 11:54:30 +00:00
|
|
|
machine:
|
|
|
|
environment:
|
2017-07-19 14:54:12 +00:00
|
|
|
YARN_VERSION: 0.28.1
|
2017-06-06 11:54:30 +00:00
|
|
|
PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
|
|
|
node:
|
|
|
|
version: 8
|
|
|
|
dependencies:
|
|
|
|
pre:
|
2017-07-19 14:54:12 +00:00
|
|
|
- npm install -g yarn@${YARN_VERSION}
|
2017-06-06 11:54:30 +00:00
|
|
|
- nvm install 4
|
|
|
|
- nvm install 6
|
|
|
|
|
|
|
|
cache_directories:
|
|
|
|
- ~/.yarn
|
|
|
|
- ~/.cache/yarn
|
|
|
|
override:
|
|
|
|
- yarn install --no-progress
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- nvm alias default 6
|
|
|
|
- yarn run test-ci
|
|
|
|
- nvm alias default 4
|
|
|
|
- yarn run test-ci
|
|
|
|
- nvm alias default 8
|
|
|
|
- yarn run test-ci
|