diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-06-05 20:32:00 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-06-05 23:42:13 +0200 |
commit | 4bd825e7782338b00a91a0a0c6f882a276f095a9 (patch) | |
tree | 1c52aedf96a629931999d58246d58e79180be465 /.travis.yml | |
parent | 4784f847c9d752c34ff4eeec8a6c40455fe313ce (diff) | |
download | volse-hubzilla-4bd825e7782338b00a91a0a0c6f882a276f095a9.tar.gz volse-hubzilla-4bd825e7782338b00a91a0a0c6f882a276f095a9.tar.bz2 volse-hubzilla-4bd825e7782338b00a91a0a0c6f882a276f095a9.zip |
:construction_worker::white_check_mark: Add MySQL 5.7 in TravisCI.
Use a Docker container to add MySQL 5.7 in TravisCI.
A lot of sql_mode settings have changed with 5.7, so finnaly provide it
to test against it.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 53a0f73f7..41b480cf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,6 +81,12 @@ matrix: dist: precise services: - mysql + # MySQL 5.7 with Docker container + - php: '7.1' + env: DB=mysql MYSQL_VERSION=5.7 + sudo: required + services: + - docker # Excludes from default matrix combinations # exclude: # - php: hhvm @@ -100,6 +106,8 @@ cache: before_install: - travis_retry composer self-update + # Start MySQL 5.7 Docker container, needs some time to come up + - if [[ "$MYSQL_VERSION" == "5.7" ]]; then sudo service mysql stop; docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mysql:5.7 && sleep 25 && docker ps; fi # Install composer dev libs install: |