mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
Do not install git, tar and curl as these packages are installed by default on Travis CI. Move the codecov upload to the travis script and do not include the codecov token as it's not needed when uploaded from Travis CI. Make the cover npm script into something that can be runned locally and move the Travis CI version to a new ci-cover script. Remove the verbose flag from the tar extration of the factorio headless server.
12 lines
308 B
YAML
12 lines
308 B
YAML
language: node_js
|
|
node_js:
|
|
- "9"
|
|
before_install:
|
|
- curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64
|
|
- tar -xf factorio.tar.gz
|
|
- cp -n config.json.test config.json
|
|
- npm install -g codecov
|
|
script:
|
|
- npm run-script ci-cover
|
|
- codecov -f coverage/lcov.info
|