travis fix buid matrix

This commit is contained in:
Michel Promonet 2018-01-20 14:31:12 +01:00
parent 22115dfe87
commit b6984f79a9

View File

@ -8,9 +8,8 @@ addons:
- liblivemedia-dev
- libasound2-dev
env:
matrix:
- TOOLCHAIN=
- TOOLCHAIN=raspberry.toolchain
- TOOLCHAIN=
- TOOLCHAIN=raspberry.toolchain
before_install:
# for coverage
- pip install --user cpp-coveralls pyYaml
@ -18,6 +17,7 @@ language: cpp
compiler:
- gcc
script:
- echo "TOOLCHAIN=$TOOLCHAIN"
- if [ "$TOOLCHAIN" != "" ]; then git clone --depth 1 https://github.com/raspberrypi/tools.git rpi_tools && export PATH=$PATH:$(pwd)/rpi_tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin; fi
#build on native system
- cmake . && make && cpack .