mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Travis: fix bench fetch in case of PR (#968)
When Travis tests a PR, a commit merge is created but master branch is not updated, although HEAD is. No functional change.
This commit is contained in:
parent
34e47ca87d
commit
332b5013b5
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ script:
|
|||
# checking bench for various build types
|
||||
#
|
||||
# obtain reference from git log
|
||||
- git log | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9][0-9]*\)/\1/g" > git_sig
|
||||
- git log HEAD | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9][0-9]*\)/\1/g" > git_sig
|
||||
- export benchref=$(cat git_sig)
|
||||
- echo "Reference bench:" $benchref
|
||||
# verify against reference
|
||||
|
|
Loading…
Add table
Reference in a new issue