Skip to content

Commit

Permalink
refactored CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrhodes1 committed Nov 6, 2018
1 parent 7221afe commit ecff6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
@@ -1,7 +1,6 @@
language: node_js

node_js:
- "11"
- node

dist: trusty
Expand All @@ -18,10 +17,4 @@ before_script:

script:
- npm run test
- npm run lint

jobs:
include:
- stage: Produce Coverage
node_js: node
script: jest --coverage --coverageReporters=text-lcov | coveralls
- npm run lint
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"lib:watch": "babel src/lib -w -d lib --copy-files",
"docs": "webpack-dev-server --mode development --config webpack/dev.config.js",
"docs:prod": "webpack --mode production --config webpack/prod.config.js",
"test": "jest",
"test": "jest --coverage --coverageReporters=text-lcov | coveralls",
"test:watch": "jest --watch",
"mock:create": "webpack --mode development --config webpack/test.config.js",
"lint": "eslint --ext .js,.jsx src/lib"
Expand Down

0 comments on commit ecff6a7

Please sign in to comment.