finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
472 bytes
|
| Line | |
|---|
| 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
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.