2017-07-06 16:33:46 -04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2017-08-16 09:27:16 -04:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2017-08-18 08:55:54 -04:00
|
|
|
env: TEST_SUITE=test-main
|
2017-08-17 07:46:36 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: "3.6"
|
2017-08-18 08:55:54 -04:00
|
|
|
env: TEST_SUITE=lint
|
2017-07-06 16:33:46 -04:00
|
|
|
install:
|
2017-08-21 09:03:08 -04:00
|
|
|
# Install codecov, the library for the code coverage reporting tool we use
|
|
|
|
- pip install codecov
|
|
|
|
|
|
|
|
# Install pycodestyle, the library for checking pep8 code conformity.
|
2017-07-18 00:22:58 -04:00
|
|
|
- pip install pycodestyle==2.3.1
|
2017-08-21 09:03:08 -04:00
|
|
|
|
|
|
|
# Install all API packages
|
2017-07-18 00:22:58 -04:00
|
|
|
- pip install ./zulip
|
|
|
|
- pip install ./zulip_bots
|
|
|
|
- pip install ./zulip_botserver
|
2017-07-06 16:33:46 -04:00
|
|
|
script:
|
2017-08-18 08:55:54 -04:00
|
|
|
- tools/$TEST_SUITE
|
2017-08-21 09:03:08 -04:00
|
|
|
after_success:
|
|
|
|
- codecov
|