-
-
Notifications
You must be signed in to change notification settings - Fork 758
/
Copy path.travis.yml
40 lines (33 loc) · 884 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Used old infrastructure, needed for integration tests:
# http://docs.travis-ci.com/user/workers/standard-infrastructure/
sudo: true
language: python
python:
- 2.7
env:
- TASK=checks
- TASK=unit
- TASK=integration
- TASK=mistral
matrix:
fast_finish: true
allow_failures:
- env: TASK=mistral
services:
- mongodb
- postgresql
- rabbitmq
cache:
directories:
- $HOME/.cache/pip/
install:
- pip install --upgrade pip
- pip install python-coveralls
- if [ ${TASK} != 'checks' ]; then pip install python-coveralls; fi
- make requirements
- if [ ${TASK} = 'integration' ] || [ ${TASK} = 'mistral' ]; then sudo -E ./scripts/travis/prepare-integration.sh; fi
- if [ ${TASK} = 'mistral' ]; then sudo -E ./scripts/travis/setup-mistral.sh; fi
script:
- ./scripts/travis/build.sh
after_success:
- if [ ${TASK} != 'checks' ]; then coveralls; fi