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

ENH: Create Travis Workflow #1

Closed
kmuehlbauer opened this issue Feb 28, 2018 · 2 comments
Closed

ENH: Create Travis Workflow #1

kmuehlbauer opened this issue Feb 28, 2018 · 2 comments

Comments

@kmuehlbauer
Copy link
Member

The workflow to be created with TravisCI should:

  • render the notebooks when in case of PR as well as MERGE/PUSH
  • If MERGE/PUSH the rendered notebooks are updated in devel branch
@kmuehlbauer
Copy link
Member Author

see #2 for first steps.

We can check the changed notebooks with:

changed=`git diff --name-only HEAD $(git merge-base HEAD base-branch) *.ipynb`

Then we can just render these. In this case we need to checkout the devel-branch, too.

@kmuehlbauer
Copy link
Member Author

@heistermann
The travis workflow is now running with rerendering all notebooks. It will be a bit more of a work to get the things going. I leave the issue open to not forget.

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

No branches or pull requests

1 participant