composer and npm

This commit is contained in:
Henry Whitaker
2020-08-25 00:59:44 +01:00
parent 6726d93cc6
commit c8f853dc84
2504 changed files with 88530 additions and 41367 deletions

View File

@@ -1,7 +1,8 @@
language: node_js
os:
- linux
node_js:
- "13"
- "12"
- "11"
- "10"
- "9"
- "8"
@@ -13,15 +14,11 @@ node_js:
- "iojs-v2"
- "iojs-v1"
- "0.12"
before_install:
- 'nvm install-latest-npm'
install:
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
script:
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
- 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
import:
- ljharb/travis-ci:node/latest-npm.yml
- ljharb/travis-ci:node/greenkeeper.yml
- ljharb/travis-ci:node/dependabot.yml
script: 'npm run tests-only'
sudo: false
env:
- TEST=true
@@ -30,6 +27,7 @@ matrix:
include:
- node_js: "lts/*"
env: PRETEST=true
script: 'npm run pretest'
allow_failures:
- node_js: "9"
- node_js: "7"
@@ -37,6 +35,4 @@ matrix:
- node_js: "iojs-v3"
- node_js: "iojs-v2"
- node_js: "iojs-v1"
- os: osx
- env: TEST=true ALLOW_FAILURE=true
- env: COVERAGE=true