main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | language: node_js
|
---|
2 | os:
|
---|
3 | - linux
|
---|
4 | node_js:
|
---|
5 | - "8"
|
---|
6 | - "7"
|
---|
7 | - "6"
|
---|
8 | - "5"
|
---|
9 | - "4"
|
---|
10 | - "iojs"
|
---|
11 | - "0.12"
|
---|
12 | - "0.10"
|
---|
13 | - "0.8"
|
---|
14 | before_install:
|
---|
15 | - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
|
---|
16 | - 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5 ; else npm install -g npm; fi; fi'
|
---|
17 | install:
|
---|
18 | - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
|
---|
19 | script:
|
---|
20 | - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
|
---|
21 | - 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
|
---|
22 | - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
|
---|
23 | - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
|
---|
24 | sudo: false
|
---|
25 | env:
|
---|
26 | - TEST=true
|
---|
27 | matrix:
|
---|
28 | fast_finish: true
|
---|
29 | include:
|
---|
30 | - node_js: "node"
|
---|
31 | env: PRETEST=true
|
---|
32 | - node_js: "node"
|
---|
33 | env: POSTTEST=true
|
---|
34 | - node_js: "0.11"
|
---|
35 | env: TEST=true ALLOW_FAILURE=true
|
---|
36 | - node_js: "0.9"
|
---|
37 | env: TEST=true ALLOW_FAILURE=true
|
---|
38 | - node_js: "0.6"
|
---|
39 | env: TEST=true ALLOW_FAILURE=true
|
---|
40 | - node_js: "0.4"
|
---|
41 | env: TEST=true ALLOW_FAILURE=true
|
---|
42 | allow_failures:
|
---|
43 | - os: osx
|
---|
44 | - env: TEST=true ALLOW_FAILURE=true
|
---|
45 | - env: COVERAGE=true
|
---|
Note:
See
TracBrowser
for help on using the repository browser.