Skip to content

Commit f070e56

Browse files
authoredMay 8, 2020
Travis allow Go master to fail (go-sql-driver#1092)
* 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
1 parent 681ffa8 commit f070e56

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
 

‎.travis.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
sudo: false
21
language: go
32
go:
43
- 1.10.x
@@ -17,10 +16,12 @@ before_script:
1716
- .travis/wait_mysql.sh
1817
- mysql -e 'create database gotest;'
1918

20-
matrix:
19+
jobs:
20+
allow_failures:
21+
- go: master
22+
2123
include:
2224
- env: DB=MYSQL8
23-
sudo: required
2425
dist: trusty
2526
go: 1.10.x
2627
services:
@@ -40,7 +41,6 @@ matrix:
4041
- export MYSQL_TEST_CONCURRENT=1
4142

4243
- env: DB=MYSQL57
43-
sudo: required
4444
dist: trusty
4545
go: 1.10.x
4646
services:
@@ -60,7 +60,6 @@ matrix:
6060
- export MYSQL_TEST_CONCURRENT=1
6161

6262
- env: DB=MARIA55
63-
sudo: required
6463
dist: trusty
6564
go: 1.10.x
6665
services:
@@ -80,7 +79,6 @@ matrix:
8079
- export MYSQL_TEST_CONCURRENT=1
8180

8281
- env: DB=MARIA10_1
83-
sudo: required
8482
dist: trusty
8583
go: 1.10.x
8684
services:

0 commit comments

Comments
 (0)
Please sign in to comment.