2016-06-13 18:39:30 -03:00
|
|
|
machine:
|
2017-04-28 22:08:29 -03:00
|
|
|
xcode:
|
2017-07-28 14:42:34 -03:00
|
|
|
version: 8.3.3
|
2016-06-13 18:39:30 -03:00
|
|
|
|
|
|
|
checkout:
|
|
|
|
post:
|
2016-09-05 01:47:48 -03:00
|
|
|
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
|
2016-10-03 13:59:40 -03:00
|
|
|
- git submodule update --init --recursive || true
|
2016-06-24 21:21:46 -03:00
|
|
|
- git submodule sync --recursive
|
2017-05-12 13:42:30 -03:00
|
|
|
- git submodule deinit -f . && rm -rf .git/modules
|
2016-10-03 13:59:40 -03:00
|
|
|
- git submodule update --init --recursive --force
|
2016-06-13 18:39:30 -03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
pre:
|
2017-04-28 22:08:29 -03: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
|
2017-07-28 14:55:41 -03:00
|
|
|
- brew install cmake genromfs gcc-arm-none-eabi ninja fastrtps
|
2017-04-28 22:08:29 -03:00
|
|
|
|
|
|
|
# Then install the required python packages:
|
|
|
|
- sudo -H easy_install pip
|
|
|
|
- sudo -H pip install empy jinja2
|
2016-06-13 18:39:30 -03:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
2017-04-28 22:08:29 -03:00
|
|
|
- make tests
|
|
|
|
- make px4fmu-v3_default
|