Skip to content

Commit

Permalink
copy config before database action
Browse files Browse the repository at this point in the history
  • Loading branch information
jhass committed Aug 8, 2011
1 parent 2234cb2 commit 75301d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions script/setup_travis.sh
Expand Up @@ -2,14 +2,14 @@
echo "copy config/database.yml.example to config/database.yml"
cp config/database.yml.example config/database.yml

echo "copy config/settings.yml.example to config/settings.yml"
cp config/settings.yml.example config/settings.yml

echo "fetch geoip database"
./script/get_geoip.sh

echo "create test database"
mysql -e 'create database podup_test;' >/dev/null

echo "load database"
RAILS_ENV=test bundle exec rake db:schema:load

echo "fetch geoip database"
./script/get_geoip.sh

echo "copy config/settings.yml.example to config/settings.yml"
cp config/settings.yml.example config/settings.yml

0 comments on commit 75301d0

Please sign in to comment.