mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use HEAD for report directory name
This commit is contained in:
parent
e12b990038
commit
0ca941942b
@ -34,10 +34,6 @@ TMPDIR=$(mktemp -d)
|
|||||||
(
|
(
|
||||||
cd "$REPO_ROOT"
|
cd "$REPO_ROOT"
|
||||||
REPO_ROOT=$(pwd) # make it absolute
|
REPO_ROOT=$(pwd) # make it absolute
|
||||||
|
|
||||||
echo "Running for commit $TRAVIS_COMMIT"
|
|
||||||
COMMIT_DATE=$(git show -s --format="%cd" --date=short "$TRAVIS_COMMIT")
|
|
||||||
|
|
||||||
cd "$TMPDIR"
|
cd "$TMPDIR"
|
||||||
|
|
||||||
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
|
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
|
||||||
@ -97,9 +93,9 @@ EOF
|
|||||||
git config user.email "chris@ethereum.org"
|
git config user.email "chris@ethereum.org"
|
||||||
git clean -f -d -x
|
git clean -f -d -x
|
||||||
|
|
||||||
DIRECTORY=$COMMIT_DATE"_"$TRAVIS_COMMIT
|
DIRNAME=$(cd "$REPO_ROOT" && git show -s --format="%cd-H" --date=short)
|
||||||
mkdir -p "$DIRECTORY"
|
mkdir -p "$DIRNAME"
|
||||||
REPORT="$DIRECTORY/$ZIP_SUFFIX.txt"
|
REPORT="$DIRNAME/$ZIP_SUFFIX.txt"
|
||||||
cp ../report.txt "$REPORT"
|
cp ../report.txt "$REPORT"
|
||||||
# Only push if adding actually worked, i.e. there were changes.
|
# Only push if adding actually worked, i.e. there were changes.
|
||||||
if git add "$REPORT"
|
if git add "$REPORT"
|
||||||
|
Loading…
Reference in New Issue
Block a user