3c2e6e0556
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.
20 lines
306 B
YAML
20 lines
306 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
env: TEST_SUITE=test-main
|
|
matrix:
|
|
include:
|
|
- python: "3.6"
|
|
env: TEST_SUITE=lint
|
|
install:
|
|
- tools/provision
|
|
- source zulip-api-py*-venv/bin/activate
|
|
script:
|
|
- tools/$TEST_SUITE
|
|
after_success:
|
|
- pip install codecov
|
|
- codecov
|