Files
bacnet_stack/.travis.yml
T
Steve Karg 810a2f93de Feature/write property type check refactor (#182)
* refactor write-property tag check

* modify ports objects to use write-property tag check API

* modify example objects to use write-property tag check API

* Fix object unit test builds

* Fix and run unit ztests via CMake

* Enable unit testing on Travis CI

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
2021-06-23 10:10:12 -05:00

87 lines
2.0 KiB
YAML

language: c
dist: xenial
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq build-essential
- sudo apt-get install -qq gcc-arm-none-eabi
- sudo apt-get install -qq libnewlib-arm-none-eabi
- sudo apt-get install -qq gcc-avr avr-libc binutils-avr
- sudo apt-get install -qq mingw-w64
- sudo apt-get install -qq libconfig-dev
- sudo apt-get install -qq cppcheck
compiler:
- gcc
- clang
jobs:
- include:
- stage: demos-build
os: linux
compiler: gcc
script: make clean all
- stage: demos-win32
os: linux
before_script:
- export CC=i686-w64-mingw32-gcc
- export LD=i686-w64-mingw32-ld
- i686-w64-mingw32-gcc --version
script:
- make win32
- stage: demos-test-build-cmake
os: linux
compiler: gcc
script:
- mkdir build && cd build && cmake .. -DBUILD_SHARED_LIBS=ON && cmake --build . --clean-first
- make test
- stage: gateway-build
os: linux
compiler: gcc
script: make clean gateway
- stage: router
os: linux
compiler: gcc
script: make clean router
- stage: router-ipv6
os: linux
compiler: gcc
script: make clean router-ipv6
- stage: router-mstp
os: linux
compiler: gcc
script: make clean router-mstp
- stage: mstp-build
os: linux
compiler: gcc
script: make clean mstp
- stage: ethernet-build
os: linux
compiler: gcc
script: make clean ethernet
- stage: lint
os: linux
compiler: clang
script: make clean lint
- stage: cppcheck
os: linux
compiler: gcc
script: make clean cppcheck
- stage: ports-arm
os: linux
before_script:
- arm-none-eabi-gcc --version
script:
- make stm32f10x
- make stm32f4xx
- make at91sam7s
- stage: ports-avr
os: linux
before_script:
- avr-gcc --version
script:
- make atmega168
- make bdk-atxx4-mstp