Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

Commit 4acd7a9

Browse files
author
Vincent Koc
authored
Merge pull request #11 from koconder/dev-travisci
Updates to Travis CI
2 parents f7ee3e2 + 2c9ac2d commit 4acd7a9

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.travis.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- "8"
5-
- "7"
64
- "6"
5+
- "7"
6+
- "8"
7+
- "9"
8+
- "10"
9+
- "11"
10+
- "node"
11+
12+
cache: npm
13+
14+
matrix:
15+
fast_finish: true
16+
allow_failures:
17+
- node_js: node
718

819
script:
920
- npm run lint
10-
- npm run test-and-coverage
21+
- npm run test-and-coverage
22+
23+
after_success:
24+
- cat ./coverage/lcov.info | codacy-coverage
25+
- codecov

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "src/Parser.js",
66
"scripts": {
77
"test": "lab -a code -v",
8-
"test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l && cat ./coverage/lcov.info | codacy-coverage && codecov",
8+
"test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l",
99
"lint": "eslint --quiet .",
1010
"precommit": "lint-staged",
1111
"update-applications": "node ./bin/update-applications",

0 commit comments

Comments
 (0)