diff --git a/.travis.yml b/.travis.yml index 0ff18aa..bd7d976 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,25 @@ language: node_js sudo: false node_js: - - "8" - - "7" - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "node" + +cache: npm + +matrix: + fast_finish: true + allow_failures: + - node_js: node script: - npm run lint - - npm run test-and-coverage \ No newline at end of file + - npm run test-and-coverage + +after_success: + - cat ./coverage/lcov.info | codacy-coverage + - codecov \ No newline at end of file diff --git a/package.json b/package.json index ddc7ebd..db8f09d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "src/Parser.js", "scripts": { "test": "lab -a code -v", - "test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l && cat ./coverage/lcov.info | codacy-coverage && codecov", + "test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l", "lint": "eslint --quiet .", "precommit": "lint-staged", "update-applications": "node ./bin/update-applications",