.travis.yml changes

This commit is contained in:
André Bauer 2016-10-24 12:25:06 +02:00 committed by Thorsten Eckel
parent c790d4dd2e
commit 31570f7673

View file

@ -15,7 +15,7 @@ before_install:
- sudo apt-get -qq update - 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 - 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 -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';" -uroot - mysql -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';" -uroot
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'zammad_prod'@'localhost';" -uroot - mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';" -uroot
- export RAILS_ENV=production - export RAILS_ENV=production
- cp config/database.yml.dist config/database.yml - cp config/database.yml.dist config/database.yml
install: install: