fix travis

This commit is contained in:
André Bauer 2016-11-30 11:31:17 +01:00
parent 7aa66f4965
commit 18602e1edf

View file

@ -18,7 +18,7 @@ before_install:
- 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 postfix - 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 postfix
- mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';" - mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';" - mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';"
- export RAILS_ENV=development - export RAILS_ENV=test
- export EMAILHELPER_MAILBOX_1='unittestemailhelper01@znuny.com:somepass' - export EMAILHELPER_MAILBOX_1='unittestemailhelper01@znuny.com:somepass'
- cp config/database.yml.test config/database.yml - cp config/database.yml.test config/database.yml
install: install: