Skip to content

Commit 76d1715

Browse files
cclaussscottleibrand
authored andcommitted
Create .travis.yml (openaps#21)
1 parent 8b81a3a commit 76d1715

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
group: travis_latest
2+
language: python
3+
cache: pip
4+
matrix:
5+
allow_failures:
6+
- python: 3.7
7+
include:
8+
- python: 2.7
9+
#- python: 3.5
10+
#- python: 3.6
11+
- python: 3.7
12+
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
13+
install:
14+
# - pip install -r requirements.txt
15+
- pip install flake8
16+
before_script:
17+
# stop the build if there are Python syntax errors or undefined names
18+
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
19+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
20+
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
21+
script:
22+
- true # add other tests here
23+
notifications:
24+
on_success: change
25+
on_failure: change # `always` will be the setting once code changes slow down

0 commit comments

Comments
 (0)