fixed .travis.yml

This commit is contained in:
Jan Naahs 2020-10-09 22:54:21 +02:00
parent 9b896d6075
commit 2fbbec7574

View File

@ -10,14 +10,12 @@ os:
- windows
env:
- GO111MODULE=on mod_dir=dev mod_pack_dir=dev_pack dir=../ conf=../conf.json
- GO111MODULE=on mod_dir=dev mod_pack_dir=dev_pack dir=../ conf=../../conf.json.example
script:
- cd src/
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then go test ./api -v -test.short; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then go test ./factorio -v -test.short; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then go test ./api -v; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then go test ./factorio -v; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then go test ./... -v -test.short; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then go test ./... -v; fi'
jobs:
include: