From: merlokk Date: Fri, 1 Dec 2017 16:57:31 +0000 (+0200) Subject: rename travis file X-Git-Tag: v3.1.0~86^2~11 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/755c72b798438b795aa15688b9a3d5ac92487818?ds=sidebyside;hp=--cc rename travis file --- 755c72b798438b795aa15688b9a3d5ac92487818 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b52d1f65 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,49 @@ +# Travis-CI config +# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3" +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 "$REPOSITORY_EP"; + 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 diff --git a/travis.yml b/travis.yml deleted file mode 100644 index b52d1f65..00000000 --- a/travis.yml +++ /dev/null @@ -1,49 +0,0 @@ -# Travis-CI config -# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3" -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 "$REPOSITORY_EP"; - 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