forked from andrasq/node-qassert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (26 loc) · 1020 Bytes
/
.travis.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
language: node_js
node_js:
- 5.8.0
before_install:
#- npm install qnit
- mkdir -p $HOME/bin $HOME/lib2 $HOME/lib
- test -x ./node_modules/.bin/npm || npm install [email protected]
- test -d ./node_modules && cp -rpf ./node_modules $HOME/lib2/ || true
- ln -sf ../lib2/node_modules/qnit/bin/qnit $HOME/bin/qnit
- ln -sf ../lib2/node_modules/npm/bin/npm-cli.js $HOME/bin/npm2
- npm2 --version
#
- npm2 install .
- nvm install 0.8 && npm2 -v && node -v && npm2 test
- nvm install 0.10 && npm2 -v && node -v && npm2 test
- nvm install 6 && npm2 -v && node -v && npm2 test
- nvm install 8 && npm2 -v && node -v && npm2 test
- nvm install 10 && npm2 -v && node -v && npm2 test
- nvm install 12 && npm2 -v && node -v && npm2 test
- nvm install 14 && npm2 -v && node -v && npm2 test
- nvm install 16 && npm2 -v && node -v && npm2 test
- nvm install 5.8.0
after_success:
- npm install -g [email protected] [email protected] codecov
- npm run coverage && codecov
- nyc report -r text-lcov | coveralls