1language: node_js 2os: 3 - linux 4node_js: 5 - "8.4" 6 - "7.10" 7 - "6.11" 8 - "5.12" 9 - "4.8" 10 - "iojs-v3.3" 11 - "iojs-v2.5" 12 - "iojs-v1.8" 13 - "0.12" 14 - "0.10" 15 - "0.8" 16before_install: 17 - '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' 18 - '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' 19install: 20 - '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;' 21script: 22 - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi' 23 - 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi' 24 - 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi' 25 - 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi' 26sudo: false 27env: 28 - TEST=true 29matrix: 30 fast_finish: true 31 include: 32 - node_js: "node" 33 env: PRETEST=true 34 - node_js: "4" 35 env: COVERAGE=true 36 - node_js: "8.3" 37 env: TEST=true ALLOW_FAILURE=true 38 - node_js: "8.2" 39 env: TEST=true ALLOW_FAILURE=true 40 - node_js: "8.1" 41 env: TEST=true ALLOW_FAILURE=true 42 - node_js: "8.0" 43 env: TEST=true ALLOW_FAILURE=true 44 - node_js: "7.9" 45 env: TEST=true ALLOW_FAILURE=true 46 - node_js: "7.8" 47 env: TEST=true ALLOW_FAILURE=true 48 - node_js: "7.7" 49 env: TEST=true ALLOW_FAILURE=true 50 - node_js: "7.6" 51 env: TEST=true ALLOW_FAILURE=true 52 - node_js: "7.5" 53 env: TEST=true ALLOW_FAILURE=true 54 - node_js: "7.4" 55 env: TEST=true ALLOW_FAILURE=true 56 - node_js: "7.3" 57 env: TEST=true ALLOW_FAILURE=true 58 - node_js: "7.2" 59 env: TEST=true ALLOW_FAILURE=true 60 - node_js: "7.1" 61 env: TEST=true ALLOW_FAILURE=true 62 - node_js: "7.0" 63 env: TEST=true ALLOW_FAILURE=true 64 - node_js: "6.10" 65 env: TEST=true ALLOW_FAILURE=true 66 - node_js: "6.9" 67 env: TEST=true ALLOW_FAILURE=true 68 - node_js: "6.8" 69 env: TEST=true ALLOW_FAILURE=true 70 - node_js: "6.7" 71 env: TEST=true ALLOW_FAILURE=true 72 - node_js: "6.6" 73 env: TEST=true ALLOW_FAILURE=true 74 - node_js: "6.5" 75 env: TEST=true ALLOW_FAILURE=true 76 - node_js: "6.4" 77 env: TEST=true ALLOW_FAILURE=true 78 - node_js: "6.3" 79 env: TEST=true ALLOW_FAILURE=true 80 - node_js: "6.2" 81 env: TEST=true ALLOW_FAILURE=true 82 - node_js: "6.1" 83 env: TEST=true ALLOW_FAILURE=true 84 - node_js: "6.0" 85 env: TEST=true ALLOW_FAILURE=true 86 - node_js: "5.11" 87 env: TEST=true ALLOW_FAILURE=true 88 - node_js: "5.10" 89 env: TEST=true ALLOW_FAILURE=true 90 - node_js: "5.9" 91 env: TEST=true ALLOW_FAILURE=true 92 - node_js: "5.8" 93 env: TEST=true ALLOW_FAILURE=true 94 - node_js: "5.7" 95 env: TEST=true ALLOW_FAILURE=true 96 - node_js: "5.6" 97 env: TEST=true ALLOW_FAILURE=true 98 - node_js: "5.5" 99 env: TEST=true ALLOW_FAILURE=true 100 - node_js: "5.4" 101 env: TEST=true ALLOW_FAILURE=true 102 - node_js: "5.3" 103 env: TEST=true ALLOW_FAILURE=true 104 - node_js: "5.2" 105 env: TEST=true ALLOW_FAILURE=true 106 - node_js: "5.1" 107 env: TEST=true ALLOW_FAILURE=true 108 - node_js: "5.0" 109 env: TEST=true ALLOW_FAILURE=true 110 - node_js: "4.7" 111 env: TEST=true ALLOW_FAILURE=true 112 - node_js: "4.6" 113 env: TEST=true ALLOW_FAILURE=true 114 - node_js: "4.5" 115 env: TEST=true ALLOW_FAILURE=true 116 - node_js: "4.4" 117 env: TEST=true ALLOW_FAILURE=true 118 - node_js: "4.3" 119 env: TEST=true ALLOW_FAILURE=true 120 - node_js: "4.2" 121 env: TEST=true ALLOW_FAILURE=true 122 - node_js: "4.1" 123 env: TEST=true ALLOW_FAILURE=true 124 - node_js: "4.0" 125 env: TEST=true ALLOW_FAILURE=true 126 - node_js: "iojs-v3.2" 127 env: TEST=true ALLOW_FAILURE=true 128 - node_js: "iojs-v3.1" 129 env: TEST=true ALLOW_FAILURE=true 130 - node_js: "iojs-v3.0" 131 env: TEST=true ALLOW_FAILURE=true 132 - node_js: "iojs-v2.4" 133 env: TEST=true ALLOW_FAILURE=true 134 - node_js: "iojs-v2.3" 135 env: TEST=true ALLOW_FAILURE=true 136 - node_js: "iojs-v2.2" 137 env: TEST=true ALLOW_FAILURE=true 138 - node_js: "iojs-v2.1" 139 env: TEST=true ALLOW_FAILURE=true 140 - node_js: "iojs-v2.0" 141 env: TEST=true ALLOW_FAILURE=true 142 - node_js: "iojs-v1.7" 143 env: TEST=true ALLOW_FAILURE=true 144 - node_js: "iojs-v1.6" 145 env: TEST=true ALLOW_FAILURE=true 146 - node_js: "iojs-v1.5" 147 env: TEST=true ALLOW_FAILURE=true 148 - node_js: "iojs-v1.4" 149 env: TEST=true ALLOW_FAILURE=true 150 - node_js: "iojs-v1.3" 151 env: TEST=true ALLOW_FAILURE=true 152 - node_js: "iojs-v1.2" 153 env: TEST=true ALLOW_FAILURE=true 154 - node_js: "iojs-v1.1" 155 env: TEST=true ALLOW_FAILURE=true 156 - node_js: "iojs-v1.0" 157 env: TEST=true ALLOW_FAILURE=true 158 - node_js: "0.11" 159 env: TEST=true ALLOW_FAILURE=true 160 - node_js: "0.9" 161 env: TEST=true ALLOW_FAILURE=true 162 - node_js: "0.6" 163 env: TEST=true ALLOW_FAILURE=true 164 - node_js: "0.4" 165 env: TEST=true ALLOW_FAILURE=true 166 allow_failures: 167 - os: osx 168 - env: TEST=true ALLOW_FAILURE=true 169