mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-06 13:11:18 -07:00
update CI/.travis.yml (#929)
* drop checks for MacOS 10.11 and 10.12 * add checks for Ubuntu 16.04 and 18.04 * add libnewlib-arm-none-eabi as prerequisite on Ubuntu
This commit is contained in:
parent
852ecedc16
commit
c85805b8a2
1 changed files with 16 additions and 11 deletions
|
@ -1,23 +1,28 @@
|
||||||
# Travis-CI config
|
# Travis-CI config
|
||||||
# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
|
# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
|
||||||
|
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
||||||
# Test on Linux and MacOS
|
# Test on Linux and MacOS
|
||||||
matrix:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- os: osx
|
|
||||||
osx_image: xcode7.3 # OS X 10.11
|
|
||||||
- os: osx
|
|
||||||
osx_image: xcode8.3 # OS X 10.12
|
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode9.4 # OS X 10.13
|
osx_image: xcode9.4 # OS X 10.13
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode10 # OS X 10.13
|
osx_image: xcode10 # OS X 10.13
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode11 # OS X 10.14
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: trusty # Ubuntu 14.04
|
||||||
sudo: required
|
- os: linux
|
||||||
|
dist: xenial # Ubuntu 16.04
|
||||||
|
- os: linux
|
||||||
|
dist: bionic # Ubuntu 18.04
|
||||||
|
|
||||||
|
git:
|
||||||
|
depth: false
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
## Install ARM toolchain on Linux.
|
## Install ARM toolchain on Linux.
|
||||||
|
@ -26,13 +31,13 @@ before_install:
|
||||||
echo $REPOSITORY_EP;
|
echo $REPOSITORY_EP;
|
||||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
sudo apt-get update -qq;
|
sudo apt-get update -qq;
|
||||||
sudo apt-get install -y gcc-arm-none-eabi libpcsclite-dev;
|
sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi libpcsclite-dev;
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
brew update;
|
brew update;
|
||||||
if [[ "$REPOSITORY_EP" == "" ]]; then
|
if [[ "$REPOSITORY_EP" == "" ]]; then
|
||||||
brew tap proxmark/proxmark3;
|
brew tap --full proxmark/proxmark3;
|
||||||
else
|
else
|
||||||
brew tap "$REPOSITORY_EP" --env=std;
|
brew tap --full "$REPOSITORY_EP" --env=std;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -47,7 +52,7 @@ install:
|
||||||
before_script:
|
before_script:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
## for the time being we are satisfied if it can be build and then successfully started
|
## for the time being we are satisfied if it can be build and hf mf hardnested runs
|
||||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
proxmark3 /dev/notexists travis_test_commands.scr ;
|
proxmark3 /dev/notexists travis_test_commands.scr ;
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue