forked from myorangedragon/longmynd
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (27 loc) · 747 Bytes
/
Copy path.travis.yml
File metadata and controls
31 lines (27 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## 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