mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Add UUID system library to build
Use sudo to install UUID lib
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user