diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 18:03:38 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 18:03:38 +0800 |
commit | e12b9900380780d2fb3edab21cbfabdc45ecfdfe (patch) | |
tree | 4a8ed2345cfdf6d96b35bcaf3f92d91f8c2aaa1e | |
parent | e9b106cd0e9a3ca792d8335b5c2f0fa03cf4eebc (diff) | |
download | dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.gz dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.bz2 dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.lz dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.xz dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.tar.zst dexon-solidity-e12b9900380780d2fb3edab21cbfabdc45ecfdfe.zip |
Move COMMIT_DATE
-rwxr-xr-x | scripts/bytecodecompare/storebytecode.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index b3491cfa..057eaf0c 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -34,6 +34,10 @@ TMPDIR=$(mktemp -d) ( cd "$REPO_ROOT" 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" "$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/ @@ -87,8 +91,6 @@ EOF eval `ssh-agent -s` ssh-add deploy_key - COMMIT_DATE=$(cd "$REPO_ROOT" && git show -s --format="%cd" --date=short "$TRAVIS_COMMIT") - git clone --depth 2 git@github.com:ethereum/solidity-test-bytecode.git cd solidity-test-bytecode git config user.name "travis" |