forked from bitcraze/crazyflie-firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
21 lines (18 loc) · 969 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo: required
language: c
services:
- docker
before_install:
- docker pull bitcraze/builder
script:
# Build CF2 basic
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF2
# Build CF2 with "all" features enabled
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF2 DEBUG=1 "EXTRA_CFLAGS=-DCALIBRATED_LED_MORSE -DIMU_TAKE_ACCEL_BIAS -DIMU_MPU6500_DLPF_256HZ -DMADWICK_QUATERNION_IMU -DDEBUG_QUEUE_MONITOR"
# Build CF1
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF1
# Build CF1 with "all" features enabled
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF1 DEBUG=1