From 25db4cc4a847816e5c7aeaff6fdc160ef6703bf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Mon, 24 Oct 2016 11:19:08 +0200 Subject: [PATCH] .travis.yml changes --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e311fd03f..dfbce8720 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,11 +14,12 @@ rvm: 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 --defaults-extra-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;" + - mysql -e "create database IF NOT EXISTS test2;" -uroot - export RAILS_ENV=production - cp config/database.yml.dist config/database.yml install: - bundle install --without test development postgres +script: - rake db:create - rake db:migrate - rake db:seed