2017-07-07 02:03:46 +05:30
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2017-08-16 15:27:16 +02:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2017-08-18 14:55:54 +02:00
|
|
|
env: TEST_SUITE=test-main
|
2017-08-17 13:46:36 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: "3.6"
|
2017-08-18 14:55:54 +02:00
|
|
|
env: TEST_SUITE=lint
|
2017-07-07 02:03:46 +05:30
|
|
|
install:
|
2017-08-21 15:03:08 +02: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 01:52:58 -02:30
|
|
|
- pip install pycodestyle==2.3.1
|
2017-08-21 15:03:08 +02:00
|
|
|
|
|
|
|
# Install all API packages
|
2017-07-18 01:52:58 -02:30
|
|
|
- pip install ./zulip
|
|
|
|
- pip install ./zulip_bots
|
|
|
|
- pip install ./zulip_botserver
|
2017-07-07 02:03:46 +05:30
|
|
|
script:
|
2017-08-18 14:55:54 +02:00
|
|
|
- tools/$TEST_SUITE
|
2017-08-21 15:03:08 +02:00
|
|
|
after_success:
|
|
|
|
- codecov
|