Merge pull request #3114 from Raven24/swapfile

create a 64MB swafile on travis
This commit is contained in:
Jonne Haß 2012-04-05 15:33:40 -07:00
commit 469c23138e

View file

@ -12,6 +12,12 @@ sh -e /etc/init.d/xvfb start
#echo "Regenerating CSS files"
#bundle exec sass -q --update public/stylesheets/sass/:public/stylesheets/
# setup swapfile
echo "creating a swapfile"
sudo dd if=/dev/zero of=swapfile bs=1M count=64
sudo mkswap swapfile
sudo swapon swapfile
# Create a database.yml for the right database
echo "Setting up database.yml for $DB"
cp config/database.yml.example config/database.yml