From 512e28c62e4610183427512fa9b88778bc5938ae Mon Sep 17 00:00:00 2001 From: Oleg Moiseenko <807634+merlokk@users.noreply.github.com> Date: Sun, 18 Aug 2019 19:29:26 +0300 Subject: [PATCH] add some info (#336) add some info --- pm3test.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pm3test.sh b/pm3test.sh index 385ba7579..09cc6b6cc 100644 --- a/pm3test.sh +++ b/pm3test.sh @@ -37,6 +37,20 @@ function CheckExecute() { printf "\n${C_BLUE}RRG Proxmark3 test tool ${C_NC}\n\n" +if [ "$TRAVIS_COMMIT" ]; then + if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then + echo "Travis branch: $TRAVIS_BRANCH slug: $TRAVIS_REPO_SLUG commit: $TRAVIS_COMMIT" + else + echo "Travis pull request: $TRAVIS_PULL_REQUEST branch: $TRAVIS_BRANCH slug: $TRAVIS_PULL_REQUEST_SLUG commit: $TRAVIS_COMMIT" + fi +fi + +printf "git branch: " +git describe --all +printf "git sha: " +git rev-parse HEAD +echo "" + while true; do if ! CheckFileExist "proxmark3 exists" "./client/proxmark3"; then break; fi if ! CheckFileExist "arm image exists" "./armsrc/obj/fullimage.elf"; then break; fi