Skip to content

Commit 89405d5

Browse files
committed
Fix multiple go versions
1 parent f7bfd33 commit 89405d5

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

.travis.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
1+
language: go
2+
go:
3+
- 1.11.x
4+
- 1.x
5+
os:
6+
- linux
7+
- windows
8+
script:
9+
- make godeps
10+
- go test -v ./...
11+
112
jobs:
213
include:
3-
- stage: test
4-
language: go
5-
os:
6-
- linux
7-
- windows
8-
go:
9-
- 1.10.x
10-
- 1.11.x
11-
- 1.12.x
12-
- 1.x
13-
install:
14-
- go get github.com/apexskier/httpauth
15-
- go get github.com/go-ini/ini
16-
- go get github.com/gorilla/mux
17-
- go get github.com/hpcloud/tail
18-
- go get github.com/gorilla/websocket
19-
- go get github.com/majormjr/rcon
20-
script:
21-
- go test -v ./...
2214
- stage: deploy
15+
go: 1.x
2316
language: minimal
2417
before_install:
2518
- docker build -f "docker/Dockerfile-build" -t factorio-server-manager docker
@@ -35,7 +28,6 @@ jobs:
3528
skip_cleanup: true
3629
on:
3730
tags: true
38-
branch: develop
3931
file:
4032
- /home/travis/factorio-server-manager-linux-${TRAVIS_TAG}.zip
4133
- /home/travis/factorio-server-manager-windows-${TRAVIS_TAG}.zip

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM frolvlad/alpine-glibc
33

44
ENV FACTORIO_VERSION=latest \
5-
MANAGER_VERSION=0.8.1 \
5+
MANAGER_VERSION=0.8.2 \
66
ADMIN_PASSWORD=factorio
77

88
VOLUME /opt/factorio/saves /opt/factorio/mods /opt/factorio/config /security

0 commit comments

Comments
 (0)