Skip to content

Commit

Permalink
Travis allow Go master to fail (go-sql-driver#1092)
Browse files Browse the repository at this point in the history
* travis: allow master branch to fail

* travis: matrix is an alias for jobs

* travis: remove obsolete sudo key

* travis: remove obsolete sudo keys in jobs matrix
  • Loading branch information
julienschmidt authored and tz70s committed Sep 5, 2020
1 parent e580c7f commit d8de882
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sudo: false
language: go
go:
- 1.10.x
Expand All @@ -17,10 +16,12 @@ before_script:
- .travis/wait_mysql.sh
- mysql -e 'create database gotest;'

matrix:
jobs:
allow_failures:
- go: master

include:
- env: DB=MYSQL8
sudo: required
dist: trusty
go: 1.10.x
services:
Expand All @@ -40,7 +41,6 @@ matrix:
- export MYSQL_TEST_CONCURRENT=1

- env: DB=MYSQL57
sudo: required
dist: trusty
go: 1.10.x
services:
Expand All @@ -60,7 +60,6 @@ matrix:
- export MYSQL_TEST_CONCURRENT=1

- env: DB=MARIA55
sudo: required
dist: trusty
go: 1.10.x
services:
Expand All @@ -80,7 +79,6 @@ matrix:
- export MYSQL_TEST_CONCURRENT=1

- env: DB=MARIA10_1
sudo: required
dist: trusty
go: 1.10.x
services:
Expand Down

0 comments on commit d8de882

Please sign in to comment.