kopia lustrzana https://github.com/jupyterhub/repo2docker
Fix directory handling in travis tests
rodzic
307addd5ab
commit
e3ceed29ef
14
.travis.yml
14
.travis.yml
|
@ -15,11 +15,17 @@ install:
|
|||
script:
|
||||
# cd into tests so CWD being repo2docker does not hide
|
||||
# possible issues with MANIFEST.in
|
||||
- if [ ${REPO_TYPE} == "r" ]; then cd tests && travis_wait pytest --cov repo2docker
|
||||
-v ${REPO_TYPE}; else cd tests && travis_retry pytest --cov repo2docker -v ${REPO_TYPE};
|
||||
fi
|
||||
- pushd tests;
|
||||
if [ ${REPO_TYPE} == "r" ]; then
|
||||
travis_wait pytest --cov repo2docker -v ${REPO_TYPE};
|
||||
else
|
||||
travis_retry pytest --cov repo2docker -v ${REPO_TYPE};
|
||||
fi;
|
||||
popd;
|
||||
- pip install -r docs/doc-requirements.txt
|
||||
- cd docs && make html
|
||||
- pushd docs;
|
||||
make html;
|
||||
popd;
|
||||
after_success:
|
||||
- pip install codecov
|
||||
- codecov
|
||||
|
|
Ładowanie…
Reference in New Issue