mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Update .travis.yml
testing pwpiwi's travis changes
This commit is contained in:
parent
4d18909596
commit
c8c01337f1
1 changed files with 30 additions and 30 deletions
56
.travis.yml
56
.travis.yml
|
@ -2,43 +2,43 @@
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
#default linux build env is: Ubuntu 14.04 trusty
|
#default linux build env is: Ubuntu 14.04 trusty
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
compiler:
|
# Test on Linux and MacOS
|
||||||
- gcc
|
|
||||||
|
|
||||||
# multi platform build test
|
|
||||||
# LINUX : Using trusty beta build environment, based on Ubuntu 14.04
|
|
||||||
# MAC OS: 10.12 or it will not compile
|
|
||||||
# meaning xcode7.3 (10.11) will not compile :(
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode7.3 # OS X 10.11
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode8.3 # OS X 10.12
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
- os: osx
|
|
||||||
osx_image: xcode8.3
|
|
||||||
- os: osx
|
|
||||||
osx_image: xcode7.3
|
|
||||||
allow_failures:
|
|
||||||
- os: osx
|
|
||||||
|
|
||||||
#before_install:
|
before_install:
|
||||||
|
## Install ARM toolchain on Linux.
|
||||||
|
## add our homebrew tap for MacOS
|
||||||
|
## Note: all dependencies on MacOS should be resolved by the brew install command
|
||||||
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
sudo apt-get update -qq;
|
||||||
|
sudo apt-get install -y gcc-arm-none-eabi;
|
||||||
|
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
brew tap iceman1001/proxmark3;
|
||||||
|
fi
|
||||||
|
|
||||||
|
install:
|
||||||
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
brew install --HEAD proxmark3;
|
||||||
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
make all;
|
||||||
|
fi
|
||||||
|
|
||||||
## Install mainline ARM toolchain. gcc-arm-none-eabi is available
|
|
||||||
## in Ubuntu >= 14.04, but this external PPA is needed for 12.04.
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-; fi
|
|
||||||
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted'; fi
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev gcc-arm-none-eabi libusb-0.1-4 libusb-dev libqt4-dev ncurses-dev perl pkg-config wget libtolua-dev; fi
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git fetch --all; fi
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install perl; fi
|
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi
|
|
||||||
|
|
||||||
|
|
||||||
# osx homebrew auto compiles as part of install.
|
|
||||||
script:
|
script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make all; fi
|
## for the time being we are satisfied if it can be build and then successfully started
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install -v --HEAD proxmark3; fi
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
proxmark3 -h ;
|
||||||
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
./client/proxmark3 -h ;
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue