.travis.yml changes
This commit is contained in:
parent
d403ccc1a5
commit
a8b516962b
1 changed files with 2 additions and 1 deletions
|
@ -14,11 +14,12 @@ rvm:
|
||||||
before_install:
|
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 --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
|
- export RAILS_ENV=production
|
||||||
- cp config/database.yml.dist config/database.yml
|
- cp config/database.yml.dist config/database.yml
|
||||||
install:
|
install:
|
||||||
- bundle install --without test development postgres
|
- bundle install --without test development postgres
|
||||||
|
script:
|
||||||
- rake db:create
|
- rake db:create
|
||||||
- rake db:migrate
|
- rake db:migrate
|
||||||
- rake db:seed
|
- rake db:seed
|
||||||
|
|
Loading…
Reference in a new issue