Skip to content

Commit 2de6c50

Browse files
author
Willi Ballenthin
committed
add travis configuration
1 parent 08f965f commit 2de6c50

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: python
2+
3+
matrix:
4+
include:
5+
- os: linux
6+
python: 2.7
7+
8+
- os: linux
9+
python: 3.5
10+
11+
install:
12+
- pip install --upgrade pip pytest pytest-cov
13+
- pip install -e .
14+
15+
before_script:
16+
# stop the build if there are Python syntax errors or undefined names
17+
#- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
18+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
19+
#- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
20+
21+
script:
22+
#- find . -name \*.py -exec pep8 --ignore=E501 {} \;
23+
- py.test ./tests/ -v --cov=Registry

0 commit comments

Comments
 (0)