aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: aaa5d2f0a76c698410e7639af47ea5989823618e (plain)
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
32
# SPDX-License-Identifier: GPL-2.0-only
# Copyright 2016 Stephan Linz <linz@li-pro.net>

language: c

matrix:
    include:
        - os: linux
          dist: trusty
          sudo: required
          compiler: gcc
        - os: linux
          dist: trusty
          sudo: required
          compiler: clang

addons:
    apt:
        packages:
            - autoconf
            - automake
            - libtool
            - m4
            - libudev-dev
            - libusb-dev
            - libusb-1.0-0-dev
        sources:
            - ubuntu-toolchain-r-test

script:
    - ./autogen.sh && make -j4 && make maintainer-clean
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh && make -j4; fi