source: imaps-frontend/node_modules/for-each/.travis.yml@ d565449

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
RevLine 
[d565449]1language: node_js
2os:
3 - linux
4node_js:
5 - "8"
6 - "7"
7 - "6"
8 - "5"
9 - "4"
10 - "iojs"
11 - "0.12"
12 - "0.10"
13 - "0.8"
14before_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'
17install:
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;'
19script:
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'
24sudo: false
25env:
26 - TEST=true
27matrix:
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.