forked from StackStorm/st2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (45 loc) · 1.5 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
# Used old infrastructure, needed for integration tests:
# http://docs.travis-ci.com/user/workers/standard-infrastructure/
sudo: true
language: python
python:
- 2.7
# Note: We enable artifacts addons since we upload integration tests logs to S3
addons:
artifacts:
s3_region: "us-west-2"
paths:
- $(ls /tmp/st2*.log | tr "\n" ":")
env:
global:
- ARTIFACTS_DEBUG=1
- ARTIFACTS_BUCKET=st2travistestslogs
- secure: "2k3NMsOqDOXZLGMo+fuTSl35VqR41cm7Z4ZPSduh2ceIMyhgtnKGmElklxV7DxaZtFgl0GD0EZWLSErqlOsjDdAA0IsBMzisQRMBWl+Rqpvjsn2P0jtZBPwe/5OPDpBUqE7t/BOaPBbyTSA9vtLPMhTWdDlR4l28NifAC+k977Q="
- secure: "AxPXLPSPGqa8lrwysXxTFHTdEVecK4ZhH91PFu6pZ+IfrSKLek23+CM08J50tmat991swSM8qodhIUfCcvJObcqDFbl295VPYM++H4U9w1dzi571WA0VKZLs3pBhwHf6ACnBX8bzxz3s/7+vE/g2bdrqI6Z6aK3UR98POjbsdOg="
matrix:
- 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