forked from Archive/PX4-Autopilot
add cmake to travis
This commit is contained in:
parent
c520119129
commit
cd38116116
|
@ -10,7 +10,7 @@ before_script:
|
|||
# General toolchain dependencies
|
||||
- sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
|
||||
- sudo apt-get install python-serial python-argparse
|
||||
- sudo apt-get install flex bison libncurses5-dev autoconf texinfo build-essential libtool zlib1g-dev genromfs git wget
|
||||
- sudo apt-get install flex bison libncurses5-dev autoconf texinfo build-essential libtool zlib1g-dev genromfs git wget cmake
|
||||
- pushd .
|
||||
- cd ~
|
||||
- wget https://launchpadlibrarian.net/174121628/gcc-arm-none-eabi-4_7-2014q2-20140408-linux.tar.bz2
|
||||
|
|
|
@ -80,7 +80,7 @@ st24_test: $(ST24_FILES)
|
|||
|
||||
cmake_gtests:
|
||||
mkdir -p build
|
||||
cd build && cmake .. && $(MAKE) && $(MAKE) test
|
||||
cd build && CC=gcc cmake .. && $(MAKE) && $(MAKE) test
|
||||
|
||||
unittests: clean mixer_test sbus2_test sf0x_test st24_test cmake_gtests
|
||||
./mixer_test
|
||||
|
|
Loading…
Reference in New Issue