Fix directory handling in travis tests

pull/372/head
Tim Head 2018-08-08 14:26:53 +02:00
rodzic 307addd5ab
commit e3ceed29ef
1 zmienionych plików z 10 dodań i 4 usunięć

Wyświetl plik

@ -15,11 +15,17 @@ install:
script: script:
# cd into tests so CWD being repo2docker does not hide # cd into tests so CWD being repo2docker does not hide
# possible issues with MANIFEST.in # possible issues with MANIFEST.in
- if [ ${REPO_TYPE} == "r" ]; then cd tests && travis_wait pytest --cov repo2docker - pushd tests;
-v ${REPO_TYPE}; else cd tests && travis_retry pytest --cov repo2docker -v ${REPO_TYPE}; if [ ${REPO_TYPE} == "r" ]; then
fi 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 - pip install -r docs/doc-requirements.txt
- cd docs && make html - pushd docs;
make html;
popd;
after_success: after_success:
- pip install codecov - pip install codecov
- codecov - codecov