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
|
2017-08-14 15:21:36 -03:00
|
|
|
- git config --global url."git://".insteadOf https://
|
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
|
2017-10-11 14:33:22 -03:00
|
|
|
- make distclean
|
2016-06-13 18:39:30 -03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
pre:
|
2017-07-28 15:00:24 -03:00
|
|
|
# PX4 OSX instructions 2017-07-28: https://dev.px4.io/en/setup/dev_env_mac.html
|
2017-04-28 22:08:29 -03:00
|
|
|
|
2017-07-28 15:00:24 -03:00
|
|
|
# After installing Homebrew, run these commands in your shell to install the common tools:
|
2017-10-10 16:14:07 -03:00
|
|
|
- brew update
|
2017-04-28 22:08:29 -03:00
|
|
|
- brew tap PX4/px4
|
2017-07-28 15:00:24 -03:00
|
|
|
- brew install px4-dev
|
2017-04-28 22:08:29 -03:00
|
|
|
|
2017-07-28 15:00:24 -03:00
|
|
|
# Install pip if you don't already have it and use it to install the required packages:
|
|
|
|
- sudo easy_install pip
|
2017-10-09 03:01:30 -03:00
|
|
|
- sudo -H pip install pyserial empy toml pandas jinja2
|
2016-06-13 18:39:30 -03:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
2018-01-15 13:23:21 -04:00
|
|
|
#- NO_NINJA_BUILD=1 make -j2 quick_check
|
|
|
|
- make posix_sitl_default
|
|
|
|
- make px4fmu-v4pro_default
|
|
|
|
- make tests
|