Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
Try to test with mysql 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Oct 6, 2016
1 parent 8c6dab1 commit 378d39c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis-install-mysql-5.7.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [[ "$MYSQL_VERSION" == "5.7" ]]; then
echo "Installing MySQL 5.7..."
echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections
wget http://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb
sudo dpkg --install mysql-apt-config_0.7.3-1_all.deb
sudo apt-get update -q
sudo apt-get install -q -y -o Dpkg::Options::=--force-confnew mysql-server
sudo mysql_upgrade
fi
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
language: go
sudo: true
env:
- MYSQL_VERSION=5.5
- MYSQL_VERSION=5.7
before_script:
- bash .travis-install-mysql-5.7.sh
- mysql --version
go:
- 1.7
Expand Down

0 comments on commit 378d39c

Please sign in to comment.