diff --git a/.travis.yml b/.travis.yml
index 9c107f25478d543af8475fab6e5451a3689f3cbb..986a81fea98bd35c451be7d4824fb128fef9f897 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,9 +25,8 @@ before_script:
 script:
   - pip install -e .
   - python setup.py test
-  - codecov
 after_success:
-  - if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
+  - if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; codecov; fi
 after_script:
   - travis-cleanup
 cache: