From cd0fc157b5930387bdb380a0b43b9879ea48827c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Mon, 24 Oct 2016 10:58:51 +0200 Subject: [PATCH] .travis.yml changes --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a7586e931..c5ba8b071 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,17 @@ +dist: trusty +sudo: required +addons: + apt: + packages: + - mysql-server-5.6 + - mysql-client-core-5.6 + - mysql-client-5.6 language: ruby rvm: - 2.3.1 before_install: - sudo apt-get -qq update - - sudo apt-get install -y curl git-core patch build-essential bison zlib1g-dev libssl-dev libxml2-dev libxml2-dev sqlite3 libsqlite3-dev autotools-dev libxslt1-dev libyaml-0-2 autoconf automake libreadline6-dev libyaml-dev libtool libgmp-dev libgdbm-dev libncurses5-dev pkg-config libffi-dev libmysqlclient-dev mysql-server - - mysql --defautls-file=/etc/mysql/debian.cnf -e 'CREATE USER `some_user`@`localhost` IDENTIFIED BY `some_pass`; GRANT ALL PRIVILEGES ON zammad_prod.* TO `some_user`@`localhost`; FLUSH PRIVILEGES;' + - sudo apt-get install -y curl git-core patch build-essential bison zlib1g-dev libssl-dev libxml2-dev libxml2-dev sqlite3 libsqlite3-dev autotools-dev libxslt1-dev libyaml-0-2 autoconf automake libreadline6-dev libyaml-dev libtool libgmp-dev libgdbm-dev libncurses5-dev pkg-config libffi-dev libmysqlclient-dev + - mysql -uroot -e 'CREATE USER `some_user`@`localhost` IDENTIFIED BY `some_pass`; GRANT ALL PRIVILEGES ON zammad_prod.* TO `some_user`@`localhost`; FLUSH PRIVILEGES;' - export RAILS_ENV=production - cp config/database.yml.dist config/database.yml