mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-11 07:46:09 -07:00
init travis from https://github.com/pwpiwi/proxmark3/tree/travis_test
This commit is contained in:
parent
d217282541
commit
b35c11f95e
2 changed files with 50 additions and 0 deletions
48
travis.yml
Normal file
48
travis.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Travis-CI config
|
||||||
|
language: c
|
||||||
|
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
|
# Test on Linux and MacOS
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode7.3 # OS X 10.11
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode8 # OS X 10.11
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode8.1 # OS X 10.12
|
||||||
|
- 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 update;
|
||||||
|
brew tap pwpiwi/proxmark3;
|
||||||
|
fi
|
||||||
|
|
||||||
|
install:
|
||||||
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
brew install -v --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 /dev/notexists travis_test_commands.scr ;
|
||||||
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
./client/proxmark3 /dev/notexists travis_test_commands.scr ;
|
||||||
|
fi
|
2
travis_test_commands.scr
Normal file
2
travis_test_commands.scr
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
hf mf hardnested t 1 000000000000
|
||||||
|
exit
|
Loading…
Add table
Add a link
Reference in a new issue