|
@@ -12,11 +12,11 @@ php:
|
|
|
|
|
|
before_install:
|
|
|
# Update phpunit
|
|
|
- - sudo rm -r $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
- - wget https://phar.phpunit.de/phpunit.phar
|
|
|
- - sudo mkdir $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
- - sudo mv phpunit.phar $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
- - sudo chmod +x $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
+ #- sudo rm -r $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
+ #- wget https://phar.phpunit.de/phpunit.phar
|
|
|
+ #- sudo mkdir $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
+ #- sudo mv phpunit.phar $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
+ #- sudo chmod +x $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
|
|
|
|
|
|
# execute any number of scripts before the test run, custom env's are available as variables
|
|
|
before_script:
|
|
@@ -24,7 +24,8 @@ before_script:
|
|
|
|
|
|
script:
|
|
|
# - set -e # don't stop on failure
|
|
|
- - php $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit/phpunit.phar --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
|
|
|
+ #- php $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit/phpunit.phar --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
|
|
|
+ - phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
|
|
|
|
|
|
# configure notifications (email, IRC, campfire etc)
|
|
|
notifications:
|