Skip to content

Commit

Permalink
Travis matrix added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergii Kovalev committed Jul 11, 2019
1 parent 190ba26 commit bad2638
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
language: node_js
node_js:
- '8.10.0'
- '10.16.0'
matrix:
include:
- name: "Node v8"
os: linux
node_js: '8'
env: TEST_SIUTE=test/integration8.10.js
- name: "Node v10"
os: linux
node_js: '10'
env: TEST_SIUTE=test/integration10.x.js test/integration10.x-babel.js test/integration-options.js
script:
- npm run lint
- npm test
- npx nyc mocha -t 30000 $TEST_SIUTE
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "serverless-mocha-plugin",
"version": "1.10.0",
"engines": {
"node": ">=8.10"
"node": ">= 8.10.0",
"npm": ">= 5.6.0"
},
"description": "Serverless plugin for test driven development using mocha",
"author": "Mikael Puittinen (https://nordcloud.com)",
Expand Down

0 comments on commit bad2638

Please sign in to comment.