From 6a3105452f542578e55b596c4c6038c598633ab2 Mon Sep 17 00:00:00 2001 From: Cassiano Aquino Date: Sat, 28 Apr 2018 00:48:07 +0100 Subject: [PATCH] Replacing xcode version to check travis build failure. --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b129fc7e..a73deaf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,16 +21,21 @@ matrix: - os: linux compiler: gcc - os: osx - osx_image: xcode7.3 + osx_image: xcode9.2 compiler: clang before_script: - export CFLAGS="-Wall -Wextra -Werror" before_install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap PX4/homebrew-px4; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libusb fftw gcc-arm-none-eabi dfu-util; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade libusb openssl; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask uninstall oclint; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall python; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link openssl --force; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libusb fftw gcc-arm-none-eabi dfu-util python@2; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/bin:$PATH; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget -O gcc-arm-none-eabi.tar.bz2 https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar xf gcc-arm-none-eabi.tar.bz2; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PATH=$PATH:$PWD/gcc-arm-none-eabi-6-2017-q2-update/bin; fi