Skip to content

Commit 722b7bf

Browse files
committed
added test stage
1 parent 009809e commit 722b7bf

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
jobs:
22
include:
3+
- stage: test
4+
language: go
5+
go: 1.x
6+
script:
7+
- cd src/
8+
- go test -v
39
- stage: deploy
410
language: go
511
go: 1.x
@@ -12,9 +18,9 @@ jobs:
1218
# - echo ~
1319
# - mkdir -p /home/travis/build/mroote/build
1420
# - docker run -t -e FAC_BRANCH=$TRAVIS_BRANCH -v /home/travis/build/mroote/build:/build factorio-server-manager
15-
- cd src/
16-
- go test -v
17-
- cd ..
21+
# - cd src/
22+
# - go test -v
23+
# - cd ..
1824
- make gen_release
1925
- mv factorio-server-manager-linux.zip ~/factorio-server-manager-linux-${TRAVIS_TAG}.zip
2026
- mv factorio-server-manager-windows.zip ~/factorio-server-manager-windows-${TRAVIS_TAG}.zip

0 commit comments

Comments
 (0)