-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (31 loc) · 803 Bytes
/
.travis.yml
File metadata and controls
31 lines (31 loc) · 803 Bytes
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
language: python
sudo: false
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
# matrix:
# - TOXENV=check
# - TOXENV=docs
matrix:
include:
- python: '3.6'
env:
- TOXENV=py36,report,codecov
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- pip install -e . .\[develop\]
- pip install tox diff_cover pytest pytest-cov flake8 mypy
- virtualenv --version
- easy_install --version
- pip --version
script:
- git fetch origin master:refs/remotes/origin/master
- pytest --cov-report=xml --cov=pepper
- diff-cover coverage.xml --compare-branch=origin/master --fail-under=100
- diff-quality --compare-branch=origin/master --violations=flake8 --fail-under=100
- make typecheck