From 923371fe22a75ee08eca8b9cc1e3970c7ad0cf82 Mon Sep 17 00:00:00 2001 From: Randall Hauch Date: Thu, 8 Dec 2016 08:15:33 -0600 Subject: [PATCH] =?UTF-8?q?DBZ-163=20Stop=20Travis-CI=E2=80=99s=20MySQL=20?= =?UTF-8?q?and=20PostgreSQL=20instances?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Recently, Travis-CI changed the sudo enabled Trusty images that we use in our builds to by-default install and run MySQL 5.6 and Postgres 9.6. This commit stops those services in the `before_install` step of our Travis-CI builds. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 41c953433..2372eba3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,11 @@ jdk: services: - docker -# Install Maven 3.3.9, since the Jolokia Maven plugin requires 3.2.1 or later but Travis current runs 3.1.x +# First stop MySQL and PostgreSQL that run by default (see DBZ-163). Then check Docker status. Finally, +# install Maven 3.3.9, since the Jolokia Maven plugin requires 3.2.1 or later but Travis current runs 3.1.x before_install: + - sudo service mysql-5.6 stop || sudo service mysql stop + - sudo /etc/init.d/postgresql stop - docker -v - docker ps -a - wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip