Skip to content

Commit 3b8486b

Browse files
committed
Add test-backend from Zulip server.
1 parent 5681b6e commit 3b8486b

File tree

1 file changed

+34
-6
lines changed

1 file changed

+34
-6
lines changed

.travis.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,42 @@
11
language: python
2-
python:
3-
- "2.7"
4-
- "3.4"
5-
- "3.5"
6-
- "3.6"
7-
env: TEST_SUITE=test-main
2+
sudo: required
3+
#python:
4+
# - "2.7"
5+
# - "3.4"
6+
# - "3.5"
7+
# - "3.6"
8+
env:
9+
matrix:
10+
- TEST_SUITE=test-main
11+
global:
12+
- BOTO_CONFIG=/tmp/nowhere
813
matrix:
914
include:
1015
- python: "3.6"
1116
env: TEST_SUITE=lint
1217
- python: "3.6"
1318
env: TEST_SUITE=run-mypy
19+
- python: "3.4"
20+
script:
21+
- cd
22+
- git clone https://github.com/zulip/zulip.git
23+
- cd zulip
24+
- sed -i "s|[email protected]|python-zulip-api.git@pull/$TRAVIS_PULL_REQUEST|" requirements/common.txt
25+
- ./tools/travis/setup-backend
26+
- ./tools/travis/backend
27+
28+
addons:
29+
artifacts:
30+
paths:
31+
# Casper debugging data (screenshots, etc.) is super useful for
32+
# debugging test flakes.
33+
- $(ls var/casper/* | tr "\n" ":")
34+
- $(ls /tmp/zulip-test-event-log/* | tr "\n" ":")
35+
postgresql: "9.3"
36+
#- ./tools/clean-venv-cache --travis
37+
#- ./tools/clean-npm-cache --travis
38+
#- ./tools/clean-emoji-cache --travis
39+
#- ./tools/travis/backend
1440
install:
1541
- tools/provision
1642
- source zulip-api-py*-venv/bin/activate
@@ -19,3 +45,5 @@ script:
1945
after_success:
2046
- pip install codecov
2147
- codecov
48+
49+

0 commit comments

Comments
 (0)