1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/circle.yml
Juan Picado @jotadeveloper 2e3c8ed2cb
fix: typo on build
2017-07-18 21:14:11 +02:00

32 lines
770 B
YAML

machine:
environment:
YARN_VERSION: 0.27.5
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
- "node_modules"
override:
- yarn install --no-progress
test:
override:
- npm run pretest:ci
- nvm alias default 6
- yarn run test-travis
- nvm alias default 4
- yarn run test-travis
- nvm alias default 8
- yarn run test-travis
- yarn run coverage:codecov