2017-07-06 16:33:46 -04:00
|
|
|
language: python
|
2017-10-04 08:39:56 -04:00
|
|
|
sudo: required
|
2017-07-06 16:33:46 -04:00
|
|
|
python:
|
2017-12-01 02:10:44 -05:00
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2019-07-27 19:34:30 -04:00
|
|
|
- "3.7"
|
2017-12-01 02:10:44 -05:00
|
|
|
env: TEST_SUITE=test-main
|
2017-08-17 07:46:36 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-11-27 10:27:37 -05:00
|
|
|
- python: "2.7"
|
|
|
|
env: TEST_SUITE=test-py2-legacy-support
|
2017-08-17 07:46:36 -04:00
|
|
|
- python: "3.6"
|
2017-09-26 11:20:26 -04:00
|
|
|
env: TEST_SUITE=test-static-analysis
|
2017-10-04 08:39:56 -04:00
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|
2017-07-06 16:33:46 -04:00
|
|
|
install:
|
2017-12-01 02:10:44 -05:00
|
|
|
- sudo rm -vf /etc/apt/sources.list.d/*
|
|
|
|
- sudo apt-get update
|
2017-11-30 04:53:45 -05:00
|
|
|
- tools/provision --force
|
2017-08-23 10:40:38 -04:00
|
|
|
- source zulip-api-py*-venv/bin/activate
|
2017-12-01 02:10:44 -05:00
|
|
|
script:
|
|
|
|
- tools/$TEST_SUITE
|
2017-08-21 09:03:08 -04:00
|
|
|
after_success:
|
2017-09-05 09:25:42 -04:00
|
|
|
- pip install codecov
|
2017-08-21 09:03:08 -04:00
|
|
|
- codecov
|