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
51
.travis.yml
51
.travis.yml
|
@ -5,7 +5,7 @@ cache: pip
|
|||
services:
|
||||
- docker
|
||||
python:
|
||||
- 3.6
|
||||
- 3.8
|
||||
install:
|
||||
# Make a wheel and install it to test to catch possible
|
||||
# issues with releases
|
||||
|
@ -20,19 +20,6 @@ script:
|
|||
if [[ "$REPO_TYPE" == "lint" ]]; then
|
||||
pre-commit run --all-files
|
||||
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:
|
||||
- pip install codecov
|
||||
- pushd tests && codecov && popd
|
||||
|
@ -40,35 +27,14 @@ after_success:
|
|||
after_failure:
|
||||
- |
|
||||
# point to auto-lint-fix
|
||||
if [[ "$REPO_TYPE" == "lint" ]]; then
|
||||
echo "You can install pre-commit hooks to automatically run formatting"
|
||||
echo "on each commit with:"
|
||||
echo " pre-commit install"
|
||||
echo "or you can run by hand on staged files with"
|
||||
echo " pre-commit run"
|
||||
echo "or after-the-fact on already committed files with"
|
||||
echo " pre-commit run --all-files"
|
||||
fi
|
||||
echo "You can install pre-commit hooks to automatically run formatting"
|
||||
echo "on each commit with:"
|
||||
echo " pre-commit install"
|
||||
echo "or you can run by hand on staged files with"
|
||||
echo " pre-commit run"
|
||||
echo "or after-the-fact on already committed files with"
|
||||
echo " pre-commit run --all-files"
|
||||
|
||||
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:
|
||||
provider: pypi
|
||||
user: mybinderteam
|
||||
|
@ -76,6 +42,5 @@ deploy:
|
|||
on:
|
||||
tags: true
|
||||
repo: jupyterhub/repo2docker
|
||||
condition: "$REPO_TYPE = conda"
|
||||
password:
|
||||
secure: Vcbr4UtckHRjKKhOFKyHkmBQRB9H3SnJvOoxuqXhzCR6JtVe2L1m4UJaSk5aq6CDauZI6fejYhMxJ6W5oqz2q7DH8RnemIVCmTaqTNqblQy6s1XK7iUjtWUtr+MfjFWNx99hqAy9VGVoi++9w4ZaDba448D69rkzVqQTJUjHTlJql66ZIyuPWLhgkWRxMNd5Hnwjf+ETc7efasD2NsvsASsI0AEZijjb+Lbi9V+hR1e1JTn+a8Gz4zskPGVT2kMTobLGE6ucfsYyPy/FxAp5GedEZdAaipjdHmN64ylV8fxDrsCKj4zwD+w43XJzJPJVpqmeYm93SKhWr2v5xn/IGFH/Ea/9/rzFogpDdCUIgv4/xNKgVFVaMalTSUs9aOwYoBVFrmWNkyPSv7vihgWtO2ljo239Eb81SHMiwnbsHG5Ao0XY32USn7CmLO7/BbnY+JVJpNHWoG/jdTn73OzXextGK30f7fp1IxSxhnGdMBkNbKeujOfmhtDj1DIyMM2eNy0YMprv90+d9zxn15PG3TjspXzM6d9wd7BhmuPfMnD6pC51l83S7kmTMJ9nK+WexACpZ0+jwLYsJUnwXClD4S1nZxaEW6cMfSEYFU/l93eyBQqiQC0EjvWCBXwfl8ZMVQr3gr/ZbqCVSaqtINri4JqA3iqHJl3mEdA2WJ5VDZw=
|
||||
|
|
Ładowanie…
Reference in New Issue