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

Improved infrastructure for notebook testing #429

Merged
merged 6 commits into from
Feb 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@
[submodule "doc/builder"]
path = doc/builder
url = https://github.com/ioam/ioam-builder.git
[submodule "doc/reference_data"]
path = doc/reference_data
url = https://github.com/ioam/holoviews-data.git
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,26 @@ install:
- pip install git+git://github.com/ioam/param.git
- pip install path.py
- pip install coveralls awscli
- if [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
CURRENT_BUILD=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds?number=$TRAVIS_BUILD_NUMBER");
NEXT_BUILD=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds?number=$((TRAVIS_BUILD_NUMBER + 1))");
MSG1=$(echo $CURRENT_BUILD | jq '.[].message' );
MSG2=$(echo $NEXT_BUILD | jq '.[].message' );
if [ "$MSG1" == "$MSG2" ] ; then
BUILD_ID=$(echo $NEXT_BUILD | jq .[].id);
TRAVIS_PULL_REQUEST=$(curl -s -X GET "https://api.travis-ci.org/repos/ioam/holoviews/builds/$BUILD_ID" | jq .compare_url | cut -d '/' -f7 | cut -d \" -f1);
fi
fi
- REF_DATA_BRANCH=${TRAVIS_PULL_REQUEST//false/reference_data}
- git clone https://github.com/ioam/holoviews-data.git -b reference_data ./doc/reference_data
- cd ./doc/reference_data
- echo "Attempting to checkout $REF_DATA_BRANCH branch"
- if [ $(git branch -a --list *origin/$REF_DATA_BRANCH | wc -l) -eq 1 ] ; then
git checkout $REF_DATA_BRANCH;
else
echo "Using the master branch reference data";
fi
- cd ../..

before-script:
- "echo 'backend : Agg' > $HOME/.matplotlib/matplotlibrc"
Expand Down
1 change: 0 additions & 1 deletion doc/reference_data
Submodule reference_data deleted from ab3290