Skip to content

Commit

Permalink
issue with phpunit installation in travis worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Boudreault committed Sep 18, 2012
1 parent b3e1d6f commit 365f013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libpq-dev libpng12-dev libjpeg-dev libgif-dev libgeos-dev libgd2-noxpm-dev libfreetype6-dev libfcgi-dev libcurl4-gnutls-dev libcairo2-dev libgdal1-dev libproj-dev libxml2-dev
- sudo apt-get install php-pear
- sudo pear channel-discover pear.phpunit.de && sudo pear install channel://pear.phpunit.de/PHPUnit
- sudo pear config-set auto_discover 1 && sudo pear install --alldeps channel://pear.phpunit.de/PHPUnit
- echo "extension=php_mapscript.so" | sudo tee -a /etc/php5/cli/php.ini

install:
Expand Down
1 change: 1 addition & 0 deletions runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ done
# PHP tests
cd msautotest/php
./run_test.py
echo `which phpunit`
if [ ! "$?" -eq 0 ]; then
ret=1
fi
Expand Down

0 comments on commit 365f013

Please sign in to comment.