File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # Config file for automatic testing at travis-ci.org
2+
3+ language : python
4+
5+ python :
6+ - " pypy3"
7+ - " pypy"
8+ - " 3.6"
9+ - " 3.5"
10+ - " 3.4"
11+ - " 2.7"
12+
13+ # Use container-based infrastructure
14+ sudo : false
15+
16+ # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
17+ install :
18+ - pip install -r requirements.txt
19+ - pip install coverage
20+
21+ # command to run tests, e.g. python setup.py test
22+ script :
23+ - coverage run --source pointofview setup.py test --verbose
24+ - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then python -m doctest pointofview/__init__.py; fi
25+
26+ after_success :
27+ - pip install coveralls
28+ - coveralls # send coverage to coveralls.io
29+
30+ after_script :
31+ - coverage report # show coverage on cmd line
32+ - pip install pycodestyle pyflakes
33+ - pyflakes . | tee >(wc -l) # static analysis
34+ - pycodestyle --statistics --count . # static analysis
You can’t perform that action at this time.
0 commit comments