mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 18:12:34 +08:00
1d02d17828
very itchy config file...
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# Travis-CI Build for IcemanFork/Proxmark3
|
|
language: c
|
|
|
|
#default linux build env is: Ubuntu 14.04 trusty
|
|
compiler: gcc
|
|
|
|
# Test on Linux and MacOS
|
|
matrix:
|
|
include:
|
|
- os: osx
|
|
osx_image: xcode7.3 # OS X 10.11
|
|
- os: osx
|
|
osx_image: xcode8.3 # OS X 10.12
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
|
|
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
|
|
|
|
before_script:
|
|
|
|
script:
|
|
## for the time being we are satisfied if it can be build and then successfully started
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
proxmark3 -h ;
|
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
./client/proxmark3 -h ;
|
|
fi
|