Skip to content

Commit

Permalink
We do not actually Mysql 5.6 to test with STRICT_TRANS_TABLES enabled…
Browse files Browse the repository at this point in the history
…. Refs matomo-org#5178
  • Loading branch information
mattab committed May 18, 2014
1 parent 6803bfe commit f84b45c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,6 @@ matrix:
script: ./travis.sh

before_script:
# Setup Mysql 5.6 (source: https://github.com/travis-ci/travis-ci/issues/1986)
- "sudo apt-get remove mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5"
- "sudo apt-get autoremove"
- "sudo apt-get install libaio1"
- "wget -O mysql-5.6.14.deb http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.17-debian6.0-x86_64.deb/from/http://cdn.mysql.com/"
- "sudo dpkg -i mysql-5.6.14.deb"
- "sudo cp /opt/mysql/server-5.6/support-files/mysql.server /etc/init.d/mysql.server"
- "sudo ln -s /opt/mysql/server-5.6/bin/* /usr/bin/"
- "sudo sed -i'' 's/table_cache/table_open_cache/' /etc/mysql/my.cnf"
- "sudo sed -i'' 's/log_slow_queries/slow_query_log/' /etc/mysql/my.cnf"
- "sudo sed -i'' 's/basedir[^=]\\+=.*$/basedir = \\/opt\\/mysql\\/server-5.6/' /etc/mysql/my.cnf"
- "sudo /etc/init.d/mysql.server start"
- mysql --version
- mysql -e "SELECT VERSION();"
# Enable sql_mode STRICT_TRANS_TABLES as it is the new default in Mysql 5.6
Expand Down

0 comments on commit f84b45c

Please sign in to comment.