summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-04-30 06:09:33 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-04-30 06:09:33 +0000
commit6b242c80afea7f9fae63e586093b29faea66c019 (patch)
tree7c2e602c64d75052e1445f159ecab30c230f8467 /.travis.yml
parenta78b6903e6daba1729f616d9d71a6c2027dc3476 (diff)
downloadredmine-6b242c80afea7f9fae63e586093b29faea66c019.tar.gz
redmine-6b242c80afea7f9fae63e586093b29faea66c019.zip
travis: fix MariaDB 5.5 test error
<pre> The following packages have unmet dependencies: mariadb-server : Depends: mariadb-server-5.5 (= 5.5.42+maria-1~precise) but it is not going to be installed </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@14231 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index c066ba9c6..62abd6698 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,6 +61,7 @@ before_install:
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db ;
MARIADB_VER=`echo $DB | sed -e 's/mariadb-//'` ;
sudo add-apt-repository ''"deb http://ftp.osuosl.org/pub/mariadb/repo/${MARIADB_VER}/ubuntu precise main"'' ;
+ sudo cp test/travis/mariadb.pref /etc/apt/preferences.d/mariadb.pref ;
sudo apt-get update ;
sudo DEBIAN_FRONTEND=noninteractive apt-get -q --yes --force-yes -f --option DPkg::Options::=--force-confnew install mariadb-server ;
sudo apt-get install libmariadbd-dev ;