diff --git a/.travis.yml b/.travis.yml
index cd14b9d88a5e4f02fe8c4d1f38e28efffbcb6a55..e6afce7f34d964b18db15c0bc505faee344a586d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ matrix:
   - php: hhvm
 before_script: composer update --dev
 script: phpunit --configuration tools/phpunit
-after_script:
+after_success:
 - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/bin/coveralls -v; fi
 notifications:
   slack: