-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Travis' Docker directly and... (#79)
* Use Travis' Docker directly and... This commit does the following changes: 1. It removes Docker Compose entirely from the CI 2. It adds tox to run all the tests more easily on CI and locally 3. The dependencies of the tests are now all located in requirements files 4. All the tests in tests/test_images.py can now be run independently from each other * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and... * fixup! Use Travis' Docker directly and...
- Loading branch information
Showing
11 changed files
with
89 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ venv | |
.coverage | ||
coverage.xml | ||
docs/_build | ||
.tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
aiohttp>=2.0 | ||
yarl>=0.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
setuptools==36.2.3 | ||
aiohttp==2.2.3 | ||
yarl>=0.10 | ||
codecov | ||
docutils | ||
tox | ||
tox-travis | ||
pygments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
-r test.txt | ||
-r ci.txt | ||
-r doc.txt | ||
towncrier==17.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pytest | ||
pytest-cov==2.5.1 | ||
pytest-asyncio==0.6.0 | ||
flake8==3.3.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[tox] | ||
envlist = py35, py36, flake8 | ||
skipsdist=True | ||
|
||
[travis] | ||
python = | ||
3.5: py35, flake8 | ||
3.6: py36, flake8 | ||
|
||
[testenv] | ||
passenv=DOCKER_HOST | ||
usedevelop=True | ||
commands = | ||
py.test --cov=aiodocker {posargs:tests} | ||
deps = | ||
-r{toxinidir}/requirements/test.txt | ||
|
||
[testenv:flake8] | ||
commands = flake8 aiodocker tests setup.py | ||
deps = flake8 |