File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 22#
33# Commits that have [ci skip] anywhere in the commit messages are ignored by Travis CI.
44
5+ # NOTE: Travis will use a non docker based infrastructure
6+ # NOTE: because of pymodbus
7+ sudo : required
8+
59language : python
610
711branches :
@@ -12,17 +16,16 @@ python:
1216 - " 2.6"
1317 - " 2.7"
1418
15- # travis-ci automatically preinstalls
16- #
19+ # NOTE: Travis-ci automatically preinstalls
1720# pytest
1821# nose
1922# mock
2023
21- # travis -ci automatically installs
24+ # NOTE: Travis -ci automatically runs
2225#
2326# pip install -r requirements.txt
2427
25- # TODO: add mininet-based tests
28+ # TODO: Add mininet-based tests
2629script : make tests-travis
2730
2831notifications :
Original file line number Diff line number Diff line change 44MININET = sudo mn
55
66PYTHON = sudo python
7- PYTHON_OPTS =
7+ PYTHON_OPTS =
88
99# regex testMatch: (?:^|[b_.-])[Tt]est)
1010# --exe: include also executable files
@@ -14,9 +14,10 @@ PYTHON_OPTS =
1414# TODO: add testing conditionals for verbosity, doctest plugin and coverage plugin
1515# http://web.mit.edu/gnu/doc/html/make_7.html
1616
17- # sudo because of mininet
17+ # NOTE: sudo because of pymodbus and mininet
1818TESTER = sudo nosetests
19- TESTER_TRAVIS = nosetests
19+ # NOTE: sudo because of pymodbus
20+ TESTER_TRAVIS = sudo nosetests
2021TESTER_OPTS = -s -v --exe --rednose
2122TESTER_OPTS_COV_HTML = $(TESTER_OPTS ) --with-coverage --cover-html
2223
You can’t perform that action at this time.
0 commit comments