mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-07 05:26:30 +08:00
Try to have a better travis
This commit is contained in:
parent
f44343aa20
commit
ce0db262ca
1 changed files with 8 additions and 14 deletions
22
.travis.yml
22
.travis.yml
|
@ -8,22 +8,18 @@ compiler: gcc
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode9.2 # OS X 10.13
|
osx_image: xcode11
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
before_install:
|
addons:
|
||||||
## Install ARM toolchain on Linux.
|
apt:
|
||||||
## add our homebrew tap for MacOS
|
packages:
|
||||||
## Note: all dependencies on MacOS should be resolved by the brew install command
|
- gcc-arm-none-eabi
|
||||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
- libnewlib-dev
|
||||||
sudo apt-get update -qq;
|
homebrew:
|
||||||
sudo apt-get install -y gcc-arm-none-eabi libnewlib-dev;
|
taps: RfidResearchGroup/proxmark3
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
||||||
brew update;
|
|
||||||
brew tap RfidResearchGroup/proxmark3;
|
|
||||||
fi
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
@ -34,8 +30,6 @@ install:
|
||||||
make all;
|
make all;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue