generated from marrow/marrow-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 958 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
language: python
cache: pip
branches:
except:
- /^feature/.*$/ # Work In-progress; covered by explicit pull request testing.
python:
- pypy3
- "3.6"
- "3.7"
matrix:
include:
- python: "3.7"
dist: xenial
install:
- 'travis_retry pip install -U setuptools pip "setuptools_scm>=1.9" cffi # Python packaging and interop.'
- 'travis_retry pip install -U pytest pytest-cov codecov # Test execution and reporting tools.'
- 'make unpack_test # Expand variables suitable for testing.'
- 'pip install -e ".[development]" # Install project and dependencies.'
script: pytest
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}"