DatvRx/longmynd/.travis.yml

31 lines
747 B
YAML
Raw Normal View History

2024-06-04 19:03:30 +02:00
## Travis CI Configuration file
matrix:
include:
# Ubuntu 16.04
- os: linux
dist: xenial
# Ubuntu 18.04
- os: linux
dist: bionic
language: c
# Install dependencies
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
# Build dependencies
- sudo apt-get install libusb-1.0-0-dev libasound2-dev -y
# Test Matrix dependencies
- sudo apt-get install gcc-5 gcc-6 gcc-7 gcc-8 gcc-9 -y
# Only grab latest git commit (no need for history)
git:
depth: 1
script:
- make clean && make werror GCC=gcc-5
- make clean && make werror GCC=gcc-6
- make clean && make werror GCC=gcc-7
- make clean && make werror GCC=gcc-8
- make clean && make werror GCC=gcc-9