diff2html/circle.yml

39 lines
970 B
YAML
Raw Normal View History

2016-08-24 10:34:50 +00:00
machine:
node:
version: 7
2016-08-24 10:34:50 +00:00
dependencies:
cache_directories:
- ~/nvm
- ~/.npm
override:
- git clean -dfx
2016-10-08 15:31:39 +00:00
test:
override:
- echo "Running tests with node 7.x"
- git clean -dfx
2017-01-15 19:21:45 +00:00
- nvm install 7 && nvm use 7 && nvm alias default 7
- npm install
- npm run lint
- npm run codacy
- npm run test
- echo "Running tests with node 6.x"
2016-10-08 15:31:39 +00:00
- git clean -dfx
2017-01-15 19:21:45 +00:00
- nvm install 6 && nvm use 6 && nvm alias default 6
2016-08-24 10:34:50 +00:00
- npm install
- npm run test
- echo "Running tests with node 5.x"
2016-08-24 10:34:50 +00:00
- git clean -dfx
2017-01-15 19:21:45 +00:00
- nvm install 5 && nvm use 5 && nvm alias default 5
2016-08-24 10:34:50 +00:00
- npm install
- npm run test
- echo "Running tests with node 4.x"
2016-08-24 10:34:50 +00:00
- git clean -dfx
2017-01-15 19:21:45 +00:00
- nvm install 4 && nvm use 4 && nvm alias default 4
2016-08-24 10:34:50 +00:00
- npm install
- npm run test
- echo "Running tests with node 0.12.x"
2016-08-24 10:34:50 +00:00
- git clean -dfx
2017-01-15 19:21:45 +00:00
- nvm install 0.12 && nvm use 0.12 && nvm alias default 0.12
2016-08-24 10:34:50 +00:00
- npm install
- npm run test