Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 22 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion Formula/fastcdr.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Formula/fastrtps.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Formula/fastrtps15.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions Formula/gcc-arm-none-eabi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
2 changes: 1 addition & 1 deletion Formula/genromfs.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Formula/kconfig-frontends.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand Down