Skip to content

Commit 4c5fd46

Browse files
cclaussbethac07
authored andcommitted
Create .travis.yml (#82)
1 parent 6e9135d commit 4c5fd46

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+
matrix:
3+
include:
4+
- python: 2.7
5+
- python: 3.6
6+
allow_failures:
7+
- python: 3.6
8+
install:
9+
- pip install --upgrade pip
10+
- pip install -r requirements.txt
11+
- pip install flake8
12+
before_script:
13+
# stop the build if there are Python syntax errors or undefined names
14+
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
15+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
16+
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
17+
script: true # pytest
18+
notifications:
19+
email: false
20+
slack:
21+
secure: kDWVy90sDY+o3g0/ZTGX2D+PTbzhtd74Whe1AJHhcUDobTUzkch8GtY9eZxybZk4nga9lQxL6YeJ72SfBBEPaLzXcUMe0YcNaBydkQHcipKZn+Vcb8kf2FiZC6YwsUYfTvvH9MPLbkZOZvsNyd0h85z+hYMB8jHsq6Yn5gf79BA=
22+
on_failure: always
23+
on_success: change

0 commit comments

Comments
 (0)