Add UUID system library to build

Use sudo to install UUID lib
This commit is contained in:
Thibaud Fabre
2014-12-17 03:17:14 +01:00
parent 34cc28cc30
commit 82c57cac99
+4 -1
View File
@@ -6,10 +6,13 @@ php:
- 5.6
- hhvm
before_install:
- sudo apt-get update && sudo apt-get install uuid-dev
before_script:
- composer self-update
- composer install --dev --prefer-source
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then pecl install uuid; fi;'
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then printf "\n" | pecl install uuid; fi;'
script:
- ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml