travis: Install codecodv in the correct place.

Before this commit, codecov got installed for each test job,
but was only needed *after* all jobs had passed: in after_success.
This lead to codecov silently failing, as it was not installed when
it was actually needed.
This commit is contained in:
derAnfaenger 2017-09-05 15:25:42 +02:00 committed by Robert Hönig
parent 610f02969a
commit 3c2e6e0556

View file

@ -10,10 +10,10 @@ matrix:
- python: "3.6" - python: "3.6"
env: TEST_SUITE=lint env: TEST_SUITE=lint
install: install:
- pip install codecov
- tools/provision - tools/provision
- source zulip-api-py*-venv/bin/activate - source zulip-api-py*-venv/bin/activate
script: script:
- tools/$TEST_SUITE - tools/$TEST_SUITE
after_success: after_success:
- pip install codecov
- codecov - codecov