Skip to content
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

Merged
merged 30 commits into from
Jun 26, 2017
Merged

cache docs examples #621

merged 30 commits into from
Jun 26, 2017

Conversation

lheagy
Copy link
Member

@lheagy lheagy commented Jun 26, 2017

  • get example cache pathed in to the correct location.
    Before:
    image

After:
image

  • I will squash when we merge this (most of the commits are me messing with travis).

@lheagy lheagy requested a review from rowanc1 June 26, 2017 19:30
@lheagy lheagy changed the title Tmp/upload half examples cache docs examples Jun 26, 2017
@rowanc1
Copy link
Member

rowanc1 commented Jun 26, 2017

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 ;
Copy link
Member Author

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 ;
Copy link
Member Author

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

Copy link
Member Author

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
Copy link

codecov bot commented Jun 26, 2017

Codecov Report

Merging #621 into ref/tdem-testing will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@                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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b83926c...e4ac2ae. Read the comment docs.

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 ../ ;
Copy link
Member Author

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)

@lheagy lheagy merged commit 4087241 into ref/tdem-testing Jun 26, 2017
@lheagy lheagy deleted the tmp/upload-half-examples branch June 26, 2017 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants