Skip to content

Commit

Permalink
[Tests] use shared travis-ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 19, 2019
1 parent 0b33130 commit ffaa4b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 49 deletions.
56 changes: 8 additions & 48 deletions .travis.yml
@@ -1,49 +1,9 @@
version: ~> 1.0
language: node_js
node_js:
- "iojs-v3.0"
- "iojs-v2.5"
- "iojs-v2.4"
- "iojs-v2.3"
- "iojs-v2.2"
- "iojs-v2.1"
- "iojs-v2.0"
- "iojs-v1.8"
- "iojs-v1.7"
- "iojs-v1.6"
- "iojs-v1.5"
- "iojs-v1.4"
- "iojs-v1.3"
- "iojs-v1.2"
- "iojs-v1.1"
- "iojs-v1.0"
- "0.12"
- "0.11"
- "0.10"
- "0.9"
- "0.8"
- "0.6"
- "0.4"
before_install:
- '[ "${TRAVIS_NODE_VERSION}" = "0.6" ] || npm install -g npm@1.4.28 && npm install -g npm'
sudo: false
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs-v2.4"
- node_js: "iojs-v2.3"
- node_js: "iojs-v2.2"
- node_js: "iojs-v2.1"
- node_js: "iojs-v2.0"
- node_js: "iojs-v1.7"
- node_js: "iojs-v1.6"
- node_js: "iojs-v1.5"
- node_js: "iojs-v1.4"
- node_js: "iojs-v1.3"
- node_js: "iojs-v1.2"
- node_js: "iojs-v1.1"
- node_js: "iojs-v1.0"
- node_js: "0.11"
- node_js: "0.9"
- node_js: "0.8"
- node_js: "0.6"
- node_js: "0.4"
os:
- linux
import:
- ljharb/travis-ci:node/all.yml
- ljharb/travis-ci:node/pretest.yml
- ljharb/travis-ci:node/posttest.yml
- ljharb/travis-ci:node/coverage.yml
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -37,7 +37,9 @@
],
"scripts": {
"pretest": "npm run lint",
"test": "node test && npm run coverage -- --quiet",
"tests-only": "node test",
"test": "npm run tests-only && npm run coverage -- --quiet",
"posttest": "npx aud",
"coverage": "covert test/index.js",
"lint": "eslint .",
"version": "auto-changelog && git add CHANGELOG.md",
Expand Down

0 comments on commit ffaa4b7

Please sign in to comment.