Merge pull request #1129 from rschamp/node8

Clean up Travis config
This commit is contained in:
Ray Schamp 2018-05-08 23:36:08 -04:00 committed by GitHub
commit ac6e73c947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View file

@ -1,11 +1,13 @@
language: node_js language: node_js
node_js: node_js:
- 6 - 8
- node - node
env: env:
global:
- NODE_ENV=production
matrix:
- NPM_SCRIPT="tap:unit -- --jobs=4" - NPM_SCRIPT="tap:unit -- --jobs=4"
- NPM_SCRIPT="tap:integration -- --jobs=4" - NPM_SCRIPT="tap:integration -- --jobs=4"
- NODE_ENV=production
sudo: false sudo: false
cache: cache:
directories: directories:
@ -17,9 +19,9 @@ script: npm run $NPM_SCRIPT
jobs: jobs:
include: include:
- env: NPM_SCRIPT=lint - env: NPM_SCRIPT=lint
node_js: 6 node_js: 8
- stage: release - stage: release
node_js: 6 node_js: 8
env: NPM_SCRIPT=build env: NPM_SCRIPT=build
before_deploy: before_deploy:
- npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s) - npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)

View file

@ -31,7 +31,7 @@
"adm-zip": "0.4.7", "adm-zip": "0.4.7",
"arraybuffer-loader": "^1.0.3", "arraybuffer-loader": "^1.0.3",
"babel-core": "^6.24.1", "babel-core": "^6.24.1",
"babel-eslint": "^7.1.1", "babel-eslint": "^8.0.1",
"babel-loader": "^7.0.0", "babel-loader": "^7.0.0",
"babel-preset-env": "^1.6.1", "babel-preset-env": "^1.6.1",
"canvas-toBlob": "1.0.0", "canvas-toBlob": "1.0.0",
@ -40,7 +40,7 @@
"escape-html": "1.0.3", "escape-html": "1.0.3",
"eslint": "^4.5.0", "eslint": "^4.5.0",
"eslint-config-scratch": "^5.0.0", "eslint-config-scratch": "^5.0.0",
"expose-loader": "0.7.4", "expose-loader": "0.7.5",
"file-loader": "^1.1.6", "file-loader": "^1.1.6",
"format-message": "5.2.1", "format-message": "5.2.1",
"format-message-cli": "5.2.1", "format-message-cli": "5.2.1",