Fix directory handling in travis tests
MODIFY
.travis.yml
.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

Fix directory handling in travis tests