Checkout correct branch (#59)
Previous circle.yml could request userinput
... and fails tests with a timeout. This should prevent it. Also this should work with both "master" and pull requests.
--- a/circle.yml Tue Nov 08 00:52:26 2016 +0100
+++ b/circle.yml Wed Nov 09 14:59:26 2016 +0100
@@ -18,7 +18,7 @@
- ../bake/bake.py download
# bake installs the master branch hence DCE will be install $CIRCLE_BRANCH
- - git pull origin $CIRCLE_BRANCH/head:
+ - git remote add local "$HOME/${CIRCLE_PROJECT_REPONAME}" && git fetch local -a && git reset --hard "local/$CIRCLE_BRANCH" :
pwd: source/ns-3-dce
- ../bake/bake.py build -j1 -vvv