forked from bitcraze/crazyflie-firmware
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
33 lines (27 loc) · 1.81 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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/make 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 -DENABLE_BQ_DECK -DSITAW_ENABLED -DOW_WRITE_TEST -DOW_READ_TEST -DDEBUG_PRINT_ON_UART"
# Build CF2 with bosch sensors
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF2 SENSORS=bosch
# Build CF2 with TDMA
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF2 DEBUG=1 LPS_TDMA_ENABLE=1 "EXTRA_CFLAGS=-DTDMA_NSLOTS_BITS=1 -DTDMA_SLOT=0"
# Build CF2 with TDOA
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF2 DEBUG=1 LPS_TDOA_ENABLE=1
# Build CF1
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make 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/make clean
- docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=CF1 DEBUG=1 "EXTRA_CFLAGS=-DCALIBRATED_LED_MORSE -DUSE_ESKYLINK -DUART_OUTPUT_TRACE_DATA -DDEBUG_PRINT_ON_UART"