Merge pull request #209 from Hornwitser/cleanup-travis

Cleanup travis and coverage script
This commit is contained in:
Arvids Godjuks authored and GitHub committed 2019-08-23 14:42:07 +02:00
commit e4386d57e8
2 files changed
+6 -6

No files matched your search

+4 -4
View File
@@ -2,10 +2,10 @@ language: node_js
node_js:
- "9"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y curl git tar
- curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64
- tar -xvf factorio.tar.gz
- tar -xf factorio.tar.gz
- cp -n config.json.test config.json
- npm install -g codecov
script:
- npm run cover
- npm run-script ci-cover
- codecov -f coverage/lcov.info
+2 -2
View File
@@ -6,7 +6,8 @@
"main": "master.js",
"scripts": {
"test": "mocha -R spec -- \"./{,!(node_modules)/**/}*.spec.js\" || true",
"cover": "nyc --reporter=lcovonly npm run-script test && codecov -f coverage/lcov.info -t f7b38085-36eb-4d72-84e6-64721910171e",
"cover": "nyc npm run-script test",
"ci-cover": "nyc --reporter=lcovonly npm run-script test",
"start": "echo Run node client.js start [instance] to start slaves && node master.js",
"install": "node lib/npmPostinstall.js",
"bundle-dependencies": "bundle-dependencies"
@@ -25,7 +26,6 @@
"body-parser": "^1.18.2",
"cli": "^1.0.1",
"cli-interact": "^0.1.9",
"codecov": "^3.0.1",
"compression": "^1.7.2",
"cookie-parser": "^1.4.3",
"deepmerge": "^1.5.2",