forked from rtfpessoa/diff2html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (38 loc) · 970 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
machine:
node:
version: 7
dependencies:
cache_directories:
- ~/nvm
- ~/.npm
override:
- git clean -dfx
test:
override:
- echo "Running tests with node 7.x"
- git clean -dfx
- nvm install 7 && nvm use 7 && nvm alias default 7
- npm install
- npm run lint
- npm run test
- npm run codacy
- echo "Running tests with node 6.x"
- git clean -dfx
- nvm install 6 && nvm use 6 && nvm alias default 6
- npm install
- npm run test
- echo "Running tests with node 5.x"
- git clean -dfx
- nvm install 5 && nvm use 5 && nvm alias default 5
- npm install
- npm run test
- echo "Running tests with node 4.x"
- git clean -dfx
- nvm install 4 && nvm use 4 && nvm alias default 4
- npm install
- npm run test
- echo "Running tests with node 0.12.x"
- git clean -dfx
- nvm install 0.12 && nvm use 0.12 && nvm alias default 0.12
- npm install
- npm run test