Files
bacnet_stack/.travis.yml
T
Steve Karg 738ef825b0 Feature/port arm build check (#34)
* add GCC ARM compiler to travis pre-script and add some ARM ports to job
2020-01-19 19:43:50 -06:00

41 lines
914 B
YAML

language: c
dist: xenial
before_install:
- sudo apt-get update
- sudo apt-get -y install build-essential
- sudo apt-get -y install gcc-arm-none-eabi
- sudo apt-get -y install libnewlib-arm-none-eabi
compiler:
- gcc
- clang
jobs:
- include:
- stage: demos-build
os: linux
compiler: gcc
script: make clean all
- stage: demos-build-cmake
os: linux
compiler: gcc
script: mkdir build && cd build && cmake .. && cmake --build . --clean-first
- stage: gateway-build
os: linux
compiler: gcc
script: make clean gateway
- stage: lint
os: linux
compiler: clang
# script: scan-build --status-bugs -analyze-headers -v make -j2 clean server
script: skip
- stage: ports-arm
os: linux
before_script:
- arm-none-eabi-gcc --version
script:
- make stm32f10x
- make at91sam7s