Merge pull request #53 from HMAZonderland/master
authorGaetano Giunta <giunta.gaetano@gmail.com>
Wed, 14 Jun 2017 11:06:08 +0000 (12:06 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 11:06:08 +0000 (12:06 +0100)
Limit phpunit version

.travis.yml
composer.json

index 7bf9067..559dd10 100644 (file)
@@ -33,6 +33,9 @@ before_script:
   - if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then ./tests/ci/travis/setup_hhvm.sh; ./tests/ci/travis/setup_apache_hhvm.sh; fi
   - ./tests/ci/travis/setup_privoxy.sh
 
+  # output what version of phpunit we got going
+  - vendor/bin/phpunit --version
+
 script:
   # Travis currently compiles PHP with an oldish cURL/GnuTLS combination;
   # to make the tests pass when Apache has a bogus SSL cert whe need the full set of options below
index d6d20fd..b3cfafa 100644 (file)
@@ -9,7 +9,7 @@
         "ext-xml": "*"
     },
     "require-dev": {
-        "phpunit/phpunit": ">=4.0.0",
+        "phpunit/phpunit": ">=4.0.0, <6.0.0",
         "phpunit/phpunit-selenium": "*",
         "codeclimate/php-test-reporter": "dev-master",
         "ext-curl": "*",