Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update apt cache before install
Browse files Browse the repository at this point in the history
Travis workers will sometimes have a stale apt cache, so installing packages will 404.
  • Loading branch information
lotyrin committed Sep 27, 2012
1 parent 92466b4 commit ce07f06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ before_script:
- curl -s http://getcomposer.org/installer | php - curl -s http://getcomposer.org/installer | php
- php composer.phar install - php composer.phar install


- sudo apt-get update > /dev/null
- sudo apt-get install -y --force-yes apache2 libapache2-mod-php5 - sudo apt-get install -y --force-yes apache2 libapache2-mod-php5
- sudo sed -i -e "s,/var/www,$(pwd)/vendor/behat/mink/tests/Behat/Mink/Driver/web-fixtures,g" /etc/apache2/sites-available/default - sudo sed -i -e "s,/var/www,$(pwd)/vendor/behat/mink/tests/Behat/Mink/Driver/web-fixtures,g" /etc/apache2/sites-available/default
- sudo /etc/init.d/apache2 restart - sudo /etc/init.d/apache2 restart
Expand Down

0 comments on commit ce07f06

Please sign in to comment.