Skip to content

tst: add py38 dev build #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ env:
- CHECK_TYPE="test"
- INSTALL_TYPE="pip"
- INSTALL_DEPENDS="pip setuptools"
- PIP_ARGS=""

matrix:
- INSTALL_TYPE="install"
- INSTALL_TYPE="develop"
Expand All @@ -26,9 +28,14 @@ env:
# This should only fail with pip 10.0.1 with URL requirements (e.g., "package @ URL")
# Useful for testing un-released upstream fixes
matrix:
include:
- python: "3.8-dev"
env: INSTALL_TYPE="pip" PIP_ARGS="--pre"
allow_failures:
- python: 3.7
env: INSTALL_DEPENDS="pip==10.0.1 setuptools==30.3.0"
- python: "3.8-dev"
env: INSTALL_TYPE="pip" PIP_ARGS="--pre"


before_install:
Expand All @@ -39,7 +46,7 @@ install:
- |
if [ "$CHECK_TYPE" = "test" ]; then
if [ "$INSTALL_TYPE" = "pip" ]; then
pip install .
pip install "$PIP_ARGS" .
elif [ "$INSTALL_TYPE" = "install" ]; then
python setup.py install
elif [ "$INSTALL_TYPE" = "develop" ]; then
Expand Down Expand Up @@ -78,7 +85,7 @@ before_script:
script:
- |
if [ "$CHECK_TYPE" = "test" ]; then
py.test -vs -n auto --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules pydra
pytest -vs -n auto --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules pydra
elif [ "$CHECK_TYPE" = "style" ]; then
black pydra setup.py
fi
Expand Down