Skip to content

Commit e229a3f

Browse files
authored
Fix PHPUnit testing on Travis (#89)
* update travis file * Update phpunit * Install phpunit on Travis
1 parent a2eb49d commit e229a3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ install:
1717
- npm install [email protected] -g
1818

1919
before_script:
20-
- composer install --prefer-source -n --no-dev
20+
- composer install --prefer-source -n
2121
- "export DISPLAY=:99.0"
2222
- "sh -e /etc/init.d/xvfb start || echo \"Unable to start virtual display.\""
2323
- sleep 3 # give xvfb some time to start
2424

2525
script:
2626
- web-push-testing-service start example -p 9012
27-
- phpunit -c phpunit.travis.xml
27+
- php ./vendor/phpunit/phpunit/phpunit -c phpunit.travis.xml
2828
- web-push-testing-service stop example

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"guzzlehttp/guzzle": "^6.2"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "4.8.*"
25+
"phpunit/phpunit": "5.7.*"
2626
},
2727
"autoload": {
2828
"psr-4" : {

0 commit comments

Comments
 (0)