forked from DataDog/dd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (46 loc) · 1.29 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
sudo: false
branches:
only:
- master
- /^\d+\.\d+\.x$/ # release forked patches branch
language: python
python:
- "2.7"
cache:
directories:
- $HOME/virtualenv/python$TRAVIS_PYTHON_VERSION.9
- vendor/cache
- $HOME/embedded
matrix:
fast_finish: true
env:
global:
- CONCURRENCY=2
- NOSE_FILTER="not windows"
- INTEGRATIONS_DIR=$HOME/embedded
- CHECKSD_OVERRIDE=$TRAVIS_BUILD_DIR/tests/checks/fixtures/checks
- PIP_CACHE=$HOME/.cache/pip
- VOLATILE_DIR=/tmp
- DD_CASHER_DIR=/tmp/casher
matrix:
- TRAVIS_FLAVOR=default
- TRAVIS_FLAVOR=core_integration
- TRAVIS_FLAVOR=checks_mock
# Override travis defaults with empty jobs
before_install: echo "OVERRIDING TRAVIS STEPS"
install: echo "OVERRIDING TRAVIS STEPS"
before_script: echo "OVERRIDING TRAVIS STEPS"
script:
- bundle install
- bundle package
# Needed if no cache exists
- mkdir -p $INTEGRATIONS_DIR
- ls -al $INTEGRATIONS_DIR
- 'rake ci:run'
- ls -al $INTEGRATIONS_DIR
after_failure:
- echo "Logs from installation process come here / DEBUG LOGS"
- cat /tmp/ci.log
notifications:
slack:
secure: DTv6FhbyKCfQVAQkz4QXDwZeKkGQsFFSoFBdry/Rn+tWet3y/dSDDRCVl7wumJbfsURCtR7qAp2wAn0h/6RGjFBYozzO3Y7UlxA0mtKgIFi7jyMz287NLnIwTN6deHqEaMpMdpiWeBn9QANF/Scyl5/isCOwUpRXYgQR9beV/Rk=