create a 64MB swafile on travis

This commit is contained in:
Florian Staudacher 2012-04-06 00:24:08 +02:00
parent 8de9ce9963
commit b6a56ca52c

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