Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
sshuttle
Commits
11455d0b
Commit
11455d0b
authored
Mar 16, 2018
by
Brian May
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various updates to tests
parent
74acc103
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
.travis.yml
.travis.yml
+4
-3
requirements-tests.txt
requirements-tests.txt
+1
-0
tox.ini
tox.ini
+5
-3
No files found.
.travis.yml
View file @
11455d0b
...
@@ -4,16 +4,17 @@ python:
...
@@ -4,16 +4,17 @@ python:
-
2.7
-
2.7
-
3.4
-
3.4
-
3.5
-
3.5
-
3.6
-
pypy
-
pypy
install
:
install
:
-
travis_retry pip install -q
flake8 pytest mock
-
travis_retry pip install -q
-r requirements-tests.txt
before_script
:
before_script
:
# stop the build if there are Python syntax errors or undefined names.
# stop the build if there are Python syntax errors or undefined names.
-
if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then flake8
.
--count --select=E901,E999,F821,F822,F823 --show-source --statistics; fi
-
if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then flake8
sshuttle
--count --select=E901,E999,F821,F822,F823 --show-source --statistics; fi
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide.
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide.
-
if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then flake8
.
--count --exit-zero --max-complexity=10 --max-line-length=127 --statistics; fi
-
if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then flake8
sshuttle
--count --exit-zero --max-complexity=10 --max-line-length=127 --statistics; fi
script
:
script
:
-
PYTHONPATH=. py.test
-
PYTHONPATH=. py.test
requirements-tests.txt
View file @
11455d0b
-r requirements.txt
-r requirements.txt
pytest==3.4.2
pytest==3.4.2
mock==2.0.0
mock==2.0.0
flake8==3.5.0
tox.ini
View file @
11455d0b
...
@@ -5,6 +5,7 @@ envlist =
...
@@ -5,6 +5,7 @@ envlist =
py27,
py27,
py34,
py34,
py35,
py35,
py36,
[testenv]
[testenv]
basepython
=
basepython
=
...
@@ -12,9 +13,10 @@ basepython =
...
@@ -12,9 +13,10 @@ basepython =
py27:
python2.7
py27:
python2.7
py34:
python3.4
py34:
python3.4
py35:
python3.5
py35:
python3.5
py36:
python3.6
commands
=
commands
=
flake8
sshuttle
--count
--select
=
E901,E999,F821,F822,F823 --show-source --statistics
flake8
sshuttle
--count
--exit-zero
--max-complexity
=
10 --max-line-length=127 --statistics
py.test
py.test
deps
=
deps
=
pytest
-rrequirements-tests.txt
mock
setuptools>=17.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment