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:
# 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