mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
Merge pull request #2804 from xonsh/clean_doctr_build
Remove extra cleans and resets from doc builds
This commit is contained in:
commit
c34f6f8a65
1 changed files with 1 additions and 7 deletions
|
@ -57,23 +57,17 @@ before_script:
|
|||
- rvm get head || true
|
||||
|
||||
script:
|
||||
- set -ex
|
||||
- set -e
|
||||
- if [[ $BUILD_DOCS = true ]]; then
|
||||
git clean -fdx;
|
||||
cd docs;
|
||||
make html;
|
||||
cd ..;
|
||||
git checkout -- .;
|
||||
git reset --hard HEAD;
|
||||
doctr deploy --deploy-repo xonsh/xonsh-docs dev;
|
||||
git checkout $(git describe --tags `git rev-list --tags --max-count=1`);
|
||||
pip install --upgrade .;
|
||||
git clean -fdx;
|
||||
cd docs;
|
||||
make clean html;
|
||||
cd ..;
|
||||
git checkout -- .;
|
||||
git reset --hard HEAD;
|
||||
doctr deploy --deploy-repo xonsh/xonsh-docs .;
|
||||
else
|
||||
py.test --timeout=10;
|
||||
|
|
Loading…
Add table
Reference in a new issue