Skip to content

Commit

Permalink
Switching to $TRAVIS_BUILD_NUMBER branch if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Jan 29, 2016
1 parent ef3ead7 commit abdacaf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ install:
- pip install path.py
- pip install coveralls awscli
- git clone https://github.com/ioam/holoviews-data.git -b reference_data ./doc/reference_data
- if git show-branch $TRAVIS_BUILD_NUMBER ; then
git checkout $TRAVIS_BUILD_NUMBER;
else
echo "Using the master branch reference data";
fi

before-script:
- "echo 'backend : Agg' > $HOME/.matplotlib/matplotlibrc"
Expand Down

0 comments on commit abdacaf

Please sign in to comment.