From 23eb89a5191adb6c568186257ccf24af3147a3e7 Mon Sep 17 00:00:00 2001
From: Chilipp
Date: Tue, 11 Apr 2017 14:08:39 +0200
Subject: [PATCH] Use the same branch for psyplot as for the test
---
.travis.yml | 2 +-
appveyor.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 611652e..1ffaf3f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,7 +94,7 @@ install:
- git submodule update --init $REFDIR
# use latest development version
# NOTE: Remove this when psyplot is stable enough
- - git clone "https://github.com/Chilipp/psyplot.git" -b v1.0.0.dev0
+ - git clone "https://github.com/Chilipp/psyplot.git" -b $TRAVIS_BRANCH || git clone "https://github.com/Chilipp/psyplot.git"
- cd psyplot && python setup.py install && cd .. && rm -rf psyplot
# install coveralls
- pip install coveralls
diff --git a/appveyor.yml b/appveyor.yml
index eb58cac..95d8d11 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -39,7 +39,7 @@ install:
- git submodule update --init %REFDIR%
# use latest development version
# NOTE: Remove this when psyplot is stable enough
- - git clone "https://github.com/Chilipp/psyplot.git" -b v1.0.0.dev0
+ - git clone "https://github.com/Chilipp/psyplot.git" -b %APPVEYOR_REPO_BRANCH% || git clone "https://github.com/Chilipp/psyplot.git"
- cd psyplot
- python setup.py install
- cd ..