mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Add config.json.test as the the config for running the tests on travis and add script command to copy it to config.json there. Should fix the unit test for master failing at loading the config.
11 lines
306 B
YAML
11 lines
306 B
YAML
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
|
|
- cp -n config.json.test config.json
|
|
script:
|
|
- npm run cover |