Skip to content
Snippets Groups Projects
Commit 3d4aa31e authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

benchmark script: make sure a master branch exists

parent 6ed5ab9c
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ if [[ ! -z "$CI" ]]; then ...@@ -30,6 +30,7 @@ if [[ ! -z "$CI" ]]; then
rm -rf .asv/env rm -rf .asv/env
# Fetch the master branch as git repository in gitlab ci env doesn't have it. # Fetch the master branch as git repository in gitlab ci env doesn't have it.
git fetch origin master git fetch origin master
git checkout -t origin/master
fi fi
if [[ ! -f ~/.asv-machine.json ]]; then if [[ ! -f ~/.asv-machine.json ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment