diff --git a/.travis.yml b/.travis.yml index 9df1592..05ceff8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,15 +3,22 @@ os: osx language: generic matrix: include: - - osx_image: xcode9.4 - - osx_image: xcode10.3 - - osx_image: xcode11.3 + - name: Test formulae in MacOS 10.14 (Mojave) + os: osx + osx_image: xcode11.3 + - name: Test formulae in MacOS 10.15 (Catalina) + os: osx + osx_image: xcode12u + - name: Sanity check the formulae + os: osx + osx_image: xcode11.3 + env: + - BREW_SANITY_CHECK=ON branches: only: - master - before_cache: - brew cleanup @@ -37,18 +44,14 @@ before_install: - ulimit -n 1024 script: - # Homebrew style checks - - brew audit $(brew --repo $TRAVIS_REPO_SLUG)/Formula/*.rb - - brew style $(brew --repo $TRAVIS_REPO_SLUG)/Formula/*.rb - - # Install the toolchain and Python dependencies - - brew uninstall python@2 - - brew install px4-dev - # - brew install px4-sim - - pip3 install --user --upgrade packaging pyserial empy toml pandas jinja2 pyyaml pyros-genmsg - - # Compile PX4 firmware - - git clone -b master https://github.com/PX4/Firmware.git ~/Firmware - - cd ~/Firmware - # - DONT_RUN=1 make px4_sitl_default gazebo - - make px4_fmu-v5_default + - if [[ "$BREW_SANITY_CHECK" == "ON" ]]; then + brew audit $(brew --repo $TRAVIS_REPO_SLUG)/Formula/*.rb; + brew style $(brew --repo $TRAVIS_REPO_SLUG)/Formula/*.rb; + else + brew uninstall python@2; + brew install px4-dev; + pip3 install --user --upgrade pyserial empy toml pandas jinja2 packaging pyyaml pyros-genmsg; + git clone -b master https://github.com/PX4/Firmware.git ~/Firmware; + cd ~/Firmware; + make px4_fmu-v5_default; + fi diff --git a/Formula/fastcdr.rb b/Formula/fastcdr.rb index c9a272c..d9ce73f 100644 --- a/Formula/fastcdr.rb +++ b/Formula/fastcdr.rb @@ -1,7 +1,7 @@ require "formula" class Fastcdr < Formula - desc "OMG RTPS / DDS implementation." + desc "OMG RTPS / DDS implementation" homepage "http://www.eprosima.com/index.php/products-all/eprosima-fast-rtps" url "https://github.com/eProsima/Fast-CDR/archive/v1.0.8.tar.gz" version "1.6.0" diff --git a/Formula/fastrtps.rb b/Formula/fastrtps.rb index ac5ca9c..ac9cd99 100644 --- a/Formula/fastrtps.rb +++ b/Formula/fastrtps.rb @@ -1,7 +1,7 @@ require "formula" class Fastrtps < Formula - desc "OMG RTPS / DDS implementation." + desc "OMG RTPS / DDS implementation" homepage "http://www.eprosima.com/index.php/products-all/eprosima-fast-rtps" url "http://px4-tools.s3.amazonaws.com/fastrtps-v1.6.0.tar.gz" sha256 "a999f30e945c2be856cc4cbed3b338646c4016e6a26e0416dc442f07f658a2b5" diff --git a/Formula/fastrtps15.rb b/Formula/fastrtps15.rb index d0fb00f..0483cf4 100644 --- a/Formula/fastrtps15.rb +++ b/Formula/fastrtps15.rb @@ -1,7 +1,7 @@ require "formula" class Fastrtps15 < Formula - desc "OMG RTPS / DDS implementation." + desc "OMG RTPS / DDS implementation" homepage "http://www.eprosima.com/index.php/products-all/eprosima-fast-rtps" url "http://px4-tools.s3.amazonaws.com/fastrtps-v1.5.0p.tar.gz" version "1.5.0" diff --git a/Formula/gcc-arm-none-eabi.rb b/Formula/gcc-arm-none-eabi.rb index 085bb15..117e5ce 100644 --- a/Formula/gcc-arm-none-eabi.rb +++ b/Formula/gcc-arm-none-eabi.rb @@ -3,9 +3,9 @@ class GccArmNoneEabi < Formula desc "GNU Embedded Toolchain for ARM" homepage "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads" - url "https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-mac.tar.bz2" - version "20180627" - sha256 "c1c4af5226d52bd1b688cf1bd78f60eeea53b19fb337ef1df4380d752ba88759" + url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-mac.tar.bz2" + version "20191106" + sha256 "1249f860d4155d9c3ba8f30c19e7a88c5047923cea17e0d08e633f12408f01f0" def install ohai "Copying binaries..." diff --git a/Formula/genromfs.rb b/Formula/genromfs.rb index 8cbd794..c010026 100644 --- a/Formula/genromfs.rb +++ b/Formula/genromfs.rb @@ -1,7 +1,7 @@ require "formula" class Genromfs < Formula - desc "tool for creating romfs images" + desc "Tool for creating ROMFS images" homepage "https://github.com/chexum/genromfs" url "http://px4-travis.s3.amazonaws.com/toolchain/genromfs-0.5.2.tar.gz" sha256 "30f37fc734572c1dbaa2504585bc23ba6b8fd7df767ae7155995b2ca0ebed960" diff --git a/Formula/kconfig-frontends.rb b/Formula/kconfig-frontends.rb index a756189..c682e46 100644 --- a/Formula/kconfig-frontends.rb +++ b/Formula/kconfig-frontends.rb @@ -1,7 +1,7 @@ require "formula" class KconfigFrontends < Formula - desc "kconfig frontends and parser" + desc "Kconfig frontends and parser" homepage "http://ymorin.is-a-geek.org/projects/kconfig-frontends" url "http://px4-travis.s3.amazonaws.com/toolchain/kconfig-frontends-3.7.0.0.tar.gz" sha256 "a0d9b6565cf671337d0d570da872cc3847ce0c8355f7208807121d0c2fdddea9"