Skip to content

Commit a374394

Browse files
committed
travis: build with 1.7, 1.9, 1.10 and tip; relase only with 1.10
1 parent 7421b7b commit a374394

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.travis.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ language: go
55

66
go:
77
- "1.7.x"
8-
- "1.10.x"
9-
- stable
8+
- "1.9.x"
9+
- "1.10.x" # we use this for releases, see deploy.on.condition below
10+
- tip
1011

12+
matrix:
13+
allow_failures:
14+
- go: tip
15+
fast_finish: true
1116

1217
env:
1318
global:
@@ -49,8 +54,6 @@ addons:
4954
- chrpath
5055

5156
before_script:
52-
- env
53-
- flsdkjfhsdlkfjhsdlfkjhdslfkjh # stop
5457
- psql -U postgres -c 'create database travis' || true
5558
- psql -U postgres -c "create extension if not exists postgis"
5659
- psql -U postgres -c "create extension if not exists hstore"
@@ -126,5 +129,5 @@ deploy:
126129
on:
127130
repo: omniscale/imposm3
128131
tags: true
129-
go: stable
132+
condition: $TRAVIS_GO_VERSION =~ ^1\.10\.[0-9]+$
130133

0 commit comments

Comments
 (0)