-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
51 lines (41 loc) · 881 Bytes
/
.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
language: python
sudo: false
cache: pip
addons:
apt:
sources:
- mongodb-upstart
- mongodb-3.2-precise
packages:
- mongodb-org-server
- mongodb-org-shell
services:
- mongodb
branches:
except:
- /^[^/]+/.+$/
python:
- "3.6"
matrix:
include:
- python: "3.7"
dist: xenial
install:
- travis_retry pip install --upgrade setuptools pip pytest pytest-cov codecov
- pip install setuptools_scm
- pip install -e '.[development]'
script:
python setup.py test
after_script:
bash <(curl -s https://codecov.io/bash)
notifications:
irc:
channels:
- 'irc.freenode.org#webcore'
use_notice: true
skip_join: true
on_success: change
on_failure: always
template:
- "%{repository_slug}:%{branch}@%{commit} %{message}"
- "Duration: %{duration} - Details: %{build_url}"