create a 64MB swafile on travis
This commit is contained in:
parent
8de9ce9963
commit
b6a56ca52c
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue