Permalink
Browse files

Update apt cache before install

Travis workers will sometimes have a stale apt cache, so installing packages will 404.
  • Loading branch information...
1 parent 92466b4 commit ce07f06431dad53f301a79842568fc4107033fca @lotyrin lotyrin committed Sep 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 .travis.yml
View
@@ -12,6 +12,7 @@ before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
+ - sudo apt-get update > /dev/null
- 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 /etc/init.d/apache2 restart

0 comments on commit ce07f06

Please sign in to comment.