Files
bacnet_stack/.travis.yml
T
Steve Karg 914f502cff Bugfix/add makefile lint fix warnings (#39)
* fix warnings indicated by scan-build lint tool

* add lint target to makefile using scan-build tool

* add lint into build script stages (note: uses scan-build-7)

* fix potential use of memory after it is freed
2020-01-28 18:48:29 -06:00

49 lines
1.0 KiB
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
- sudo apt-get -y install gcc-avr avr-libc binutils-avr
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: make clean lint
- stage: ports-arm
os: linux
before_script:
- arm-none-eabi-gcc --version
script:
- make stm32f10x
- make at91sam7s
- stage: ports-avr
os: linux
before_script:
- avr-gcc --version
script:
- make atmega168
- make bdk-atxx4-mstp