Browse Source

update travis config

Puskás Zsolt 7 years ago
parent
commit
b694f12d54
1 changed files with 7 additions and 6 deletions
  1. 7 6
      .travis.yml

+ 7 - 6
.travis.yml

@@ -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: