Try to have a better travis

This commit is contained in:
slurdge 2019-07-25 14:41:52 +02:00
parent f44343aa20
commit ce0db262ca

View file

@ -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