File tree 2 files changed +32
-1
lines changed
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,27 @@ python:
4
4
- " 3.4"
5
5
- " 3.5"
6
6
- " 3.6"
7
- env : TEST_SUITE=test-main
7
+ env :
8
+ matrix :
9
+ - TEST_SUITE=test-main
10
+ global :
11
+ - BOTO_CONFIG=/tmp/nowhere
8
12
matrix :
9
13
include :
10
14
- python : " 3.6"
11
15
env : TEST_SUITE=test-static-analysis
16
+ - python : " 3.4"
17
+ sudo : required
18
+ env : TEST_SUITE=backend
19
+ script :
20
+ - cd
21
+ - ls
22
+ - ls zulip
23
+ - git clone https://github.com/zulip/zulip.git
24
+ - cd zulip
25
+ - ./python-zulip-api/tools/test-backend
26
+ addons :
27
+ postgresql : " 9.3"
12
28
install :
13
29
- tools/provision
14
30
- source zulip-api-py*-venv/bin/activate
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ sed -i
" s|[email protected] |python-zulip-api.git@pull/$TRAVIS_PULL_REQUEST |" requirements/common.txt
4
+ sed -i
" s|[email protected] |python-zulip-api.git@pull/$TRAVIS_PULL_REQUEST |" requirements/dev_lock.txt
5
+ sed -i
" s|[email protected] |python-zulip-api.git@pull/$TRAVIS_PULL_REQUEST |" requirements/prod_lock.txt
6
+
7
+ ./tools/travis/setup-backend
8
+
9
+ source tools/travis/activate-venv
10
+ echo " Test suite is running under $( python --version) ."
11
+
12
+ set -e
13
+ set -x
14
+
15
+ ./tools/test-api
You can’t perform that action at this time.
0 commit comments