-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache docs examples #621
cache docs examples #621
Conversation
Does this download and then re-upload the builds? |
tar -xzf $PWD/docs/_build.tar.gz -C $PWD/docs/_build ; | ||
ls $PWD/docs/_build/ ; | ||
gsutil cp gs://simpeg/_build.tar.gz $PWD/docs ; | ||
gsutil cp gs://simpeg/examples.tar.gz $PWD/docs/content ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
downloads
gsutil cp docs/_build.tar.gz gs://simpeg ; | ||
gsutil cp docs/content/examples.tar.gz gs://simpeg ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-uploads only on dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(new examples will continue to be run and tested until they get to dev)
Codecov Report
@@ Coverage Diff @@
## ref/tdem-testing #621 +/- ##
=================================================
Coverage 74.32% 74.32%
=================================================
Files 105 105
Lines 13960 13960
=================================================
Hits 10376 10376
Misses 3584 3584 Continue to review full report at Codecov.
|
fi | ||
|
||
# Run test | ||
script: | ||
# - nosetests $TEST_DIR --with-cov --cov SimPEG --cov-config .coveragerc -v -s | ||
- if [ "$TEST_DIR" = "$DEPLOY_DIR" -a ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]; then | ||
cd docs; make html-noplot ; cd ../; | ||
cd docs; make html-noplot ; cd ../ ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on python 3, we check that the docs compile (no nitpick and no testing of examples)
Before:
After: