mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-01 04:51:30 +08:00
chg: how to do if-then-elsif-endif ?
This commit is contained in:
parent
eabe8cea77
commit
d04dbd0c37
1 changed files with 7 additions and 10 deletions
17
.travis.yml
17
.travis.yml
|
@ -27,15 +27,12 @@ matrix:
|
||||||
## Install mainline ARM toolchain. gcc-arm-none-eabi is available
|
## Install mainline ARM toolchain. gcc-arm-none-eabi is available
|
||||||
## in Ubuntu >= 14.04, but this external PPA is needed for 12.04.
|
## in Ubuntu >= 14.04, but this external PPA is needed for 12.04.
|
||||||
before_script:
|
before_script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted'; fi
|
||||||
- sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted';
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
|
||||||
- sudo apt-get update -qq;
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y gcc-arm-none-eabi; fi
|
||||||
- sudo apt-get install -y gcc-arm-none-eabi;
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git fetch --all; fi
|
||||||
- git fetch --all
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||||
- elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi
|
||||||
- brew update;
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install proxmark3; fi
|
||||||
- brew tap iceman1001/proxmark3;
|
|
||||||
- brew install proxmark3;
|
|
||||||
fi
|
|
||||||
#make command
|
#make command
|
||||||
script: "make all"
|
script: "make all"
|
Loading…
Reference in a new issue