diff --git a/.travis.yml b/.travis.yml index 93725d69..9b88efc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,6 @@ before_install: - 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 \ No newline at end of file diff --git a/config.json.test b/config.json.test new file mode 100644 index 00000000..3ea35cbd --- /dev/null +++ b/config.json.test @@ -0,0 +1,47 @@ +{ + "factorioDirectory": "./factorio", + "instanceDirectory": "./instances", + "databaseDirectory": "./database", + + "publicIP": "localhost", + + "masterIP": "localhost", + + "masterPort": 8080, + + "sslPort": 443, + "sslCert": "database/certificates/cert.crt", + "sslPrivKey": "database/certificates/cert.key", + "masterAuthToken": "", + "masterAuthSecret": "TestSecretDoNotUse", + + "username": "", + "token": "", + "factorio_version": "0.16.41", + + "verify_user_identity": true, + "auto_pause": false, + "allow_commands": "admins-only", + "game_password": "", + "description": "This server runs Clusterio", + "visibility": { + "public": true, + "lan": true + }, + + "itemStats": { + "maxEntries":60, + "entriesPerSecond": 0.01666666667 + }, + "logItemTransfers": false, + "disableFairItemDistribution": true, + "useNeuralNetDoleDivider": false, + "uploadModsToMaster": true, + "msBetweenCommands": 10, + "allowRemoteCommandExecution": true, + "enableCrossServerShout": true, + "mirrorAllChat": false, + "autosaveInterval": 600000, + "disablePrometheusPushgateway": false, + "disableImportsOfEverythingExceptElectricity": false +}