Commit eaa6f8a2 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'asv_factor' into 'master'

Add ASV_FACTOR

See merge request !26
parents 7f039c00 a491a0ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ test_commit=`git rev-parse HEAD`
asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn
asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn

output=`asv compare $master_commit $test_commit --factor 1 -s`
output=`asv compare $master_commit $test_commit --factor ${ASV_FACTOR:-1} -s`
echo "$output"

if [[ "$output" = *"worse"* ]]; then
@@ -57,5 +57,6 @@ if [[ "$output" = *"worse"* ]]; then
fi

if [[ "$CI_PROJECT_NAMESPACE" == "inducer" ]]; then
  git branch -v
  asv publish --html-dir ~/.scicomp-benchmarks/asv/$PROJECT
fi