diff --git a/.travis.yml b/.travis.yml index d4245fb..7321272 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,15 @@ language: bash +dist: trusty +sudo: required +addons: + apt: + packages: + - mysql-server-5.6 + - mysql-client-core-5.6 + - mysql-client-5.6 + services: mysql @@ -8,11 +17,7 @@ os: linux osx -sudo: - required - before_script: - which mysql && until mysql -u root -e "show status" &>/dev/null; do echo "Waiting for MySQL to start..."; sleep 5; done; mysql -e 'CREATE DATABASE travistest;' script: