summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 84b73bd6..58a3ac42 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,12 +10,10 @@ python:
- "3.5"
- "3.6"
- "3.7"
- - "3.8-dev"
+ - "3.8"
- "pypy"
- "pypy3"
matrix:
- allow_failures:
- - python: "3.8-dev"
# Explicitly test against our oldest supported cryptography.io, in addition
# to whatever the latest default is.
include:
@@ -36,10 +34,13 @@ install:
if [[ -n "$OLDEST_CRYPTO" ]]; then
pip install "cryptography==${OLDEST_CRYPTO}"
fi
- # Self-install for setup.py-driven deps
- - pip install -e .
+ # Self-install for setup.py-driven deps (plus additional
+ # safe-enough-for-all-matrix-cells optional deps)
+ # TODO: additional matrices or test steps to test all the entrypoints
+ - pip install -e ".[ed25519,invoke]"
# Dev (doc/test running) requirements
- # TODO: use pipenv + whatever contexty-type stuff it has
+ # TODO: use poetry + whatever contexty-type stuff it has, should be more than
+ # just prod/dev split. Also apply to the above re: extras_require.
- pip install codecov # For codecov specifically
- pip install -r dev-requirements.txt
- |
@@ -71,6 +72,10 @@ script:
- inv coverage
# Ensure documentation builds, both sites, maxxed nitpicking
- inv sites
+ # Sanity check ability to build sdist
+ - python setup.py sdist
+ # And ability to run tests from within the result
+ - cd dist && tar xzvf *.tar.gz && rm *.tar.gz && cd paramiko-* && ls -l && pip install -e . && inv test
notifications:
irc:
channels: "irc.freenode.org#paramiko"