forked from elastic/apm-agent-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (54 loc) · 1.1 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
54
55
56
57
58
59
60
sudo: false
dist: xenial
language: python
python:
- nightly
- "3.6"
- "3.7"
env:
global:
- PIP_CACHE="$HOME/.pip_cache"'
- RUN_SCRIPT="./travis/run_tests.sh"
- POSTGRES_DB=elasticapm_test
- TWINE_USERNAME=piquadrat
matrix:
- WEBFRAMEWORK=django-master
- WEBFRAMEWORK=flask-master
matrix:
exclude:
allow_failures:
- env: WEBFRAMEWORK=django-master
- env: WEBFRAMEWORK=flask-master
- python: nightly
stages:
- test
before_script:
- psql -c 'create database elasticapm_test;' -U postgres
- mkdir -p "$PIP_CACHE"
- mkdir -p wheelhouse
script:
- bash $RUN_SCRIPT
addons:
apt:
sources:
- mongodb-3.0-precise
packages:
- libevent-dev
- libzmq3-dev
- mongodb-org-server
- xsltproc
- libxml2-utils
postgresql: '9.4'
cache:
directories:
- "$HOME/.pip_cache"
notifications:
email: false
slack:
secure: LcTTbTj0Px0/9Bs/S/uwbhkdULlj1YVdHnU8F/kOa3bq2QdCTptqB719r6BnzHvW+QGyADvDZ25UncVXFuLuHY67ZYfmyZ/H2cj0nrRSuYdPct0avhVbT/3s50GlNWK5qkfZDuqw6szYTFrgFWJcr5dl7Zf6Vovcvd38uaYOdno=
services:
- redis-server
- memcached
- mongodb
- mysql
- postgresql