kopia lustrzana https://github.com/jupyterhub/repo2docker
stop running tests on travis
tests are running on azure pipelines now travis only does deploypull/940/head
rodzic
7e5e272928
commit
6bcf13f13d
37
.travis.yml
37
.travis.yml
|
@ -5,7 +5,7 @@ cache: pip
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
python:
|
python:
|
||||||
- 3.6
|
- 3.8
|
||||||
install:
|
install:
|
||||||
# Make a wheel and install it to test to catch possible
|
# Make a wheel and install it to test to catch possible
|
||||||
# issues with releases
|
# issues with releases
|
||||||
|
@ -20,19 +20,6 @@ script:
|
||||||
if [[ "$REPO_TYPE" == "lint" ]]; then
|
if [[ "$REPO_TYPE" == "lint" ]]; then
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
fi
|
fi
|
||||||
- |
|
|
||||||
# run any of the other tests
|
|
||||||
if [[ "$REPO_TYPE" != "lint" ]]; then
|
|
||||||
# cd into tests so CWD being repo2docker does not hide
|
|
||||||
# possible issues with MANIFEST.in
|
|
||||||
pushd tests;
|
|
||||||
if [ ${REPO_TYPE} == "r" ] || [ ${REPO_TYPE} == "stencila-r" ] || [ ${REPO_TYPE} == "stencila-py" ]; then
|
|
||||||
travis_wait 30 pytest --durations 10 --cov repo2docker -v ${REPO_TYPE} || exit 1;
|
|
||||||
else
|
|
||||||
travis_retry pytest --durations 10 --cov repo2docker -v ${REPO_TYPE} || exit 1;
|
|
||||||
fi;
|
|
||||||
popd;
|
|
||||||
fi
|
|
||||||
after_success:
|
after_success:
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
- pushd tests && codecov && popd
|
- pushd tests && codecov && popd
|
||||||
|
@ -40,7 +27,6 @@ after_success:
|
||||||
after_failure:
|
after_failure:
|
||||||
- |
|
- |
|
||||||
# point to auto-lint-fix
|
# point to auto-lint-fix
|
||||||
if [[ "$REPO_TYPE" == "lint" ]]; then
|
|
||||||
echo "You can install pre-commit hooks to automatically run formatting"
|
echo "You can install pre-commit hooks to automatically run formatting"
|
||||||
echo "on each commit with:"
|
echo "on each commit with:"
|
||||||
echo " pre-commit install"
|
echo " pre-commit install"
|
||||||
|
@ -48,27 +34,7 @@ after_failure:
|
||||||
echo " pre-commit run"
|
echo " pre-commit run"
|
||||||
echo "or after-the-fact on already committed files with"
|
echo "or after-the-fact on already committed files with"
|
||||||
echo " pre-commit run --all-files"
|
echo " pre-commit run --all-files"
|
||||||
fi
|
|
||||||
|
|
||||||
env:
|
|
||||||
matrix:
|
|
||||||
- REPO_TYPE=lint
|
|
||||||
- REPO_TYPE=unit
|
|
||||||
- REPO_TYPE=base
|
|
||||||
- REPO_TYPE=conda
|
|
||||||
- REPO_TYPE=pipfile
|
|
||||||
- REPO_TYPE=venv
|
|
||||||
- REPO_TYPE=stencila-py
|
|
||||||
- REPO_TYPE=julia
|
|
||||||
- REPO_TYPE=r
|
|
||||||
- REPO_TYPE=nix
|
|
||||||
- REPO_TYPE=dockerfile
|
|
||||||
- REPO_TYPE=external
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- python: 3.5
|
|
||||||
env:
|
|
||||||
- REPO_TYPE=venv
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
user: mybinderteam
|
user: mybinderteam
|
||||||
|
@ -76,6 +42,5 @@ deploy:
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
repo: jupyterhub/repo2docker
|
repo: jupyterhub/repo2docker
|
||||||
condition: "$REPO_TYPE = conda"
|
|
||||||
password:
|
password:
|
||||||
secure: Vcbr4UtckHRjKKhOFKyHkmBQRB9H3SnJvOoxuqXhzCR6JtVe2L1m4UJaSk5aq6CDauZI6fejYhMxJ6W5oqz2q7DH8RnemIVCmTaqTNqblQy6s1XK7iUjtWUtr+MfjFWNx99hqAy9VGVoi++9w4ZaDba448D69rkzVqQTJUjHTlJql66ZIyuPWLhgkWRxMNd5Hnwjf+ETc7efasD2NsvsASsI0AEZijjb+Lbi9V+hR1e1JTn+a8Gz4zskPGVT2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