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-08-16 09:27:16 -04:00
|
|
|
- "3.4"
|
2017-10-04 08:39:56 -04:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- TEST_SUITE=test-main
|
|
|
|
global:
|
|
|
|
- BOTO_CONFIG=/tmp/nowhere
|
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
|
|
|
- python: "3.4"
|
|
|
|
env: TEST_SUITE=backend
|
|
|
|
script:
|
|
|
|
- wget https://github.com/houstondatavis/slack-export/archive/master.zip
|
|
|
|
- mv master.zip slack-export-master.zip
|
|
|
|
- zulip/integrations/slack/slackdata2zulipdata.py $PWD/slack-export-master.zip
|
|
|
|
- mv zulip_data.zip $HOME
|
|
|
|
- cd
|
|
|
|
- ls
|
2017-10-05 15:51:04 -04:00
|
|
|
- git clone --depth=50 https://github.com/zulip/zulip.git
|
2017-10-04 08:39:56 -04:00
|
|
|
- cd zulip
|
|
|
|
- ./tools/travis/setup-backend
|
2017-10-05 15:51:04 -04:00
|
|
|
- source tools/travis/activate-venv
|
|
|
|
- ./manage.py --help
|
|
|
|
- ./manage.py import --destroy-rebuild-database ../zulip_data.zip
|
2017-10-04 08:39:56 -04:00
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|
2017-07-06 16:33:46 -04:00
|
|
|
install:
|
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-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
|