forked from getsentry/sentry-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
66 lines (65 loc) · 1.74 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
61
62
63
64
65
66
sudo: false
language: python
group: deprecated-2017Q4
sudo: required
services:
- memcached
- postgresql
- redis-server
python:
- '2.7'
cache:
yarn: true
directories:
- node_modules
- $HOME/.cache/pip/wheels
- $HOME/virtualenv/python2.7/src
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
chrome: stable
env:
global:
- PIP_DISABLE_PIP_VERSION_CHECK=on
- SENTRY_SKIP_BACKEND_VALIDATION=1
- CXX=g++-4.8
- TRAVIS_NODE_VERSION=8.9.1
install:
- 'export PATH=$PATH:~/.bin'
- rvm install 2.2.5
- rvm use 2.2.5
- nvm install $TRAVIS_NODE_VERSION
- npm install -g [email protected]
- make install-tests
- python -m pip install codecov
- pip freeze
script:
- make lint
- py.test --cov . --cov-report="xml:coverage.xml" --junit-xml="junit.xml" --html="pytest.html" || exit 1
after_success:
- codecov -e TEST_SUITE
- npm install -g @zeus-ci/cli
- zeus upload -t "text/xml+xunit" junit.xml
- zeus upload -t "text/xml+coverage" coverage.xml
- zeus upload -t "text/html+pytest" pytest.html
- zeus upload -t "text/plain+pycodestyle" flake8.pycodestyle.log
- zeus upload -t "text/xml+checkstyle" eslint.checkstyle.xml
after_failure:
- npm install -g @zeus-ci/cli
- zeus upload -t "text/xml+xunit" junit.xml
- zeus upload -t "text/xml+coverage" coverage.xml
- zeus upload -t "text/html+pytest" pytest.html
- zeus upload -t "text/plain+pycodestyle" flake8.pycodestyle.log
- zeus upload -t "text/xml+checkstyle" eslint.checkstyle.xml
notifications:
webhooks:
urls:
- https://zeus.ci/hooks/3b18261a-deb8-11e7-867b-0a580a281404/public/provider/travis/webhook
on_success: always
on_failure: always
on_start: always
on_cancel: always
on_error: always