forked from getsentry/sentry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
73 lines (64 loc) · 1.52 KB
/
.travis.yml
File metadata and controls
73 lines (64 loc) · 1.52 KB
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
67
68
69
70
71
72
73
language: python
sudo: false
python:
- "2.7"
- "pypy"
- "3.4"
- "3.5"
- "3.6"
cache:
pip: true
cargo: true
branches:
only:
- master
- /^release\/.+$/
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
- python: "3.8-dev"
dist: xenial
sudo: true
- name: Linting
python: "3.6"
install:
- pip install tox
script: tox -e linters
- python: "3.6"
name: Distribution packages
install: false
script: make travis-upload-dist
- python: "3.6"
name: Build documentation
install: false
script: make travis-upload-docs
- # The OS X VM doesn't have any Python support at all
# See https://github.com/travis-ci/travis-ci/issues/2312
os: osx
name: OS X Python 2.7
language: generic
before_install:
- brew install python@2
- python2 -m pip install --user virtualenv
- /Users/travis/Library/Python/2.7/bin/virtualenv $HOME/osx-py
- source $HOME/osx-py/bin/activate
- export TRAVIS_PYTHON_VERSION=2.7
install:
- pip install tox
- pip install codecov
- sh scripts/download-semaphore.sh
script:
- coverage erase
- ./scripts/runtox.sh '' --cov=sentry_sdk --cov-append --cov-report= --cov-branch
- codecov
notifications:
webhooks:
urls:
- https://zeus.ci/hooks/7ebb3060-90d8-11e8-aa04-0a580a282e07/public/provider/travis/webhook
on_success: always
on_failure: always
on_start: always
on_cancel: always
on_error: always