2016-06-13 17:39:30 -04:00
|
|
|
machine:
|
2017-04-28 21:08:29 -04:00
|
|
|
xcode:
|
|
|
|
|
version: 8.2
|
2016-06-13 17:39:30 -04:00
|
|
|
|
|
|
|
|
checkout:
|
|
|
|
|
post:
|
2016-09-05 00:47:48 -04:00
|
|
|
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
|
2016-10-03 12:59:40 -04:00
|
|
|
- git submodule update --init --recursive || true
|
2016-06-24 20:21:46 -04:00
|
|
|
- git submodule sync --recursive
|
2016-10-03 12:59:40 -04:00
|
|
|
- git submodule deinit -f .
|
|
|
|
|
- git submodule update --init --recursive --force
|
2016-06-13 17:39:30 -04:00
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
pre:
|
2017-04-28 21:08:29 -04:00
|
|
|
# PX4 OSX instructions 2017-04-28: https://dev.px4.io/en/setup/dev_env_mac.html
|
|
|
|
|
|
|
|
|
|
# After installing Homebrew, copy these commands to your shell:
|
|
|
|
|
- brew tap PX4/px4
|
|
|
|
|
- brew update
|
|
|
|
|
- brew install genromfs gcc-arm-none-eabi ninja
|
|
|
|
|
|
|
|
|
|
# Then install the required python packages:
|
|
|
|
|
- sudo -H easy_install pip
|
|
|
|
|
- sudo -H pip install empy jinja2
|
2016-06-13 17:39:30 -04:00
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
override:
|
2017-04-28 21:08:29 -04:00
|
|
|
- make tests
|
|
|
|
|
- make px4fmu-v3_default
|