Skip to content

Commit 6abae9a

Browse files
committed
Fix mysql-5.7 test case's error in Travis.
See https://travis-ci.org/brianmario/mysql2/jobs/615263122#L798 ``` + add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-5.7' + apt-get install -qq mysql-server libmysqlclient-dev ``` After adding trusty mysql-5.7 repository, mysql-5.5 is installed instead of mysql-5.7. because the Packages file is empty (zero byte). http://repo.mysql.com/apt/ubuntu/dists/trusty/mysql-5.7/binary-amd64/ xenial mysql-5.7 repository is still available. The Packages file is not empty. http://repo.mysql.com/apt/ubuntu/dists/xenial/mysql-5.7/binary-amd64/
1 parent 46369c0 commit 6abae9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ matrix:
6060
- mysql2gem.example.com
6161
- rvm: 2.4
6262
env: DB=mysql57
63+
dist: xenial
6364
addons:
6465
hosts:
6566
- mysql2gem.example.com

0 commit comments

Comments
 (0)