mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 23:30:41 +09:00
Move the export and clusterio mod code to the slave package and fix the path used for them. Refactor tests to use temp/tests/ as the cwd when running integration tests in order to ensure paths to lua code are correctly handled.
16 lines
678 B
YAML
16 lines
678 B
YAML
language: node_js
|
|
node_js:
|
|
- 10
|
|
before_install:
|
|
- curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64
|
|
- tar -xf factorio.tar.gz
|
|
- npm install -g codecov
|
|
script:
|
|
- npx lerna bootstrap --no-ci
|
|
- node packages/lib/build_mod --source-dir packages/slave/lua/clusterio_lib --bump-patch --factorio-version 0.18 --output-dir temp/test/sharedMods
|
|
- curl -o temp/test/sharedMods/subspace_storage_1.99.1.zip -L https://github.com/clusterio/factorioClusterioMod/releases/download/1.99.1/subspace_storage_1.99.1.zip
|
|
- npm run-script ci-cover
|
|
- cat temp/test/integration/log.txt
|
|
- codecov -f coverage/lcov.info
|
|
- npm run-script lint
|