From 95c86d5d8376800b793538d191b0929f2319a8e4 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 28 Aug 2018 10:57:23 -0500 Subject: [PATCH] Run asv machine only if it hasn't been run before --- build-and-benchmark-py-project.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 66d0ee9..f2e9134 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -27,7 +27,10 @@ if [[ ! -z "$CI" ]]; then fi fi -asv machine --yes +if [[ ! -f ~/.asv-machine.json ]]; then + asv machine --yes +fi + master_commit=`git rev-parse master` test_commit=`git rev-parse HEAD` -- GitLab