summaryrefslogtreecommitdiff
path: root/scripts/benchmark/benchmark-all-commits.sh
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-07-07 20:05:39 -0300
committerdrebs <drebs@leap.se>2017-07-08 08:05:24 -0300
commit3b51520b4be2f48a204bc0d630c88058ed51afa9 (patch)
tree34c1948df1461a33ecf15f858553ddc18d76b437 /scripts/benchmark/benchmark-all-commits.sh
parentf21d9e1a4e6d0a2ed6d7af83191e39a2a883241b (diff)
[benchmark] setup env for benchmark-all-commits conditionally
Diffstat (limited to 'scripts/benchmark/benchmark-all-commits.sh')
-rwxr-xr-xscripts/benchmark/benchmark-all-commits.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/benchmark/benchmark-all-commits.sh b/scripts/benchmark/benchmark-all-commits.sh
index 7de63e17..57b2adc2 100755
--- a/scripts/benchmark/benchmark-all-commits.sh
+++ b/scripts/benchmark/benchmark-all-commits.sh
@@ -45,8 +45,8 @@ do
#git checkout testing/tox.ini testing/tests/benchmarks/conftest.py testing/tests/conftest.py
# Option 2: Run couchdb + tox in docker container using gitlab-runner
- git checkout origin/benchmark-all-commits .gitlab-ci.yml
- time gitlab-runner exec docker \
+ git checkout origin/master .gitlab-ci.yml
+ BENCHMARK_ALL_COMMITS=1 time gitlab-runner exec docker \
benchmark \
--timeout 7200 \
--env PYTEST_OPTS="$PYTEST_OPTS" \