aswi2020vldc-gitlab/templetes/node_modules/file-uri-to-path/.travis.yml @ 9bb1e829
1 |
sudo: false |
---|---|
2 |
|
3 |
language: node_js |
4 |
|
5 |
node_js: |
6 |
- "0.8" |
7 |
- "0.10" |
8 |
- "0.12" |
9 |
- "1" |
10 |
- "2" |
11 |
- "3" |
12 |
- "4" |
13 |
- "5" |
14 |
- "6" |
15 |
- "7" |
16 |
- "8" |
17 |
|
18 |
install: |
19 |
- PATH="`npm bin`:`npm bin -g`:$PATH" |
20 |
# Node 0.8 comes with a too obsolete npm
|
21 |
- if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g npm@1.4.28 ; fi |
22 |
# Install dependencies and build
|
23 |
- npm install |
24 |
|
25 |
script: |
26 |
# Output useful info for debugging
|
27 |
- node --version |
28 |
- npm --version |
29 |
# Run tests
|
30 |
- npm test |