mirror of
https://github.com/status-im/metro.git
synced 2025-01-11 19:44:17 +00:00
Add circle.yml
Reviewed By: davidaurelio Differential Revision: D5190477 fbshipit-source-id: 71769400dc3b67bd0c8eec27e4e317a9eb3de1f2
This commit is contained in:
parent
3d6b143d72
commit
52c6ba4b75
28
circle.yml
Normal file
28
circle.yml
Normal file
@ -0,0 +1,28 @@
|
||||
machine:
|
||||
environment:
|
||||
YARN_VERSION: 0.24.3
|
||||
PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
||||
node:
|
||||
version: 8
|
||||
dependencies:
|
||||
pre:
|
||||
- |
|
||||
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
|
||||
fi
|
||||
- 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
|
Loading…
x
Reference in New Issue
Block a user