travis osx (#339)

changed homebrew install to make all. added pwd to twst script
This commit is contained in:
Oleg Moiseenko 2019-08-19 18:43:01 +03:00 committed by GitHub
parent 6f9ec6dd24
commit e12db2bb53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -39,7 +39,8 @@ install:
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew info proxmark3; brew info proxmark3;
brew options proxmark3; brew options proxmark3;
brew install --verbose --HEAD proxmark3; make clean;
make all V=1;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make clean; make clean;
make all V=1; make all V=1;
@ -51,7 +52,7 @@ before_script:
script: script:
## start and run a test script ## start and run a test script
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
proxmark3 -h ; ./pm3test.sh;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./pm3test.sh; ./pm3test.sh;
fi fi

View file

@ -49,6 +49,9 @@ function CheckExecute() {
printf "\n${C_BLUE}RRG/Iceman Proxmark3 test tool ${C_NC}\n\n" printf "\n${C_BLUE}RRG/Iceman Proxmark3 test tool ${C_NC}\n\n"
printf "work directory: "
pwd
if [ "$TRAVIS_COMMIT" ]; then if [ "$TRAVIS_COMMIT" ]; then
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "Travis branch: $TRAVIS_BRANCH slug: $TRAVIS_REPO_SLUG commit: $TRAVIS_COMMIT" echo "Travis branch: $TRAVIS_BRANCH slug: $TRAVIS_REPO_SLUG commit: $TRAVIS_COMMIT"