diff --git .travis.yml .travis.yml
index 0139021317..be93514cf1 100644
--- .travis.yml
+++ .travis.yml
@@ -66,11 +66,11 @@ before_script:
     case "$TRAVIS_PHP_VERSION" in
       7.2|7.1|7.0|nightly)
         echo "Using PHPUnit 6.1"
-        composer global require "phpunit/phpunit=6.1.*"
+        composer global require "phpunit/phpunit:^6.2"
         ;;
       5.6|5.5|5.4|5.3)
         echo "Using PHPUnit 4.8"
-        composer global require "phpunit/phpunit=4.8.*"
+        composer global require "phpunit/phpunit:^4.8"
         ;;
       5.2)
         # Do nothing, use default PHPUnit 3.6.x
