Set pretty-name for ALSA seq MIDI ports
[jack2.git] / .travis.yml
blob730aaa30aff1aa8f5984bd64ac0502c9837b4f7a
1 language:
2     - cpp
3 sudo: required
5 matrix:
6   include:
7     # linux with gcc 8
8     - os: linux
9       addons:
10         apt:
11           sources:
12             - ubuntu-toolchain-r-test
13           install:
14             - gcc-8
15       dist: xenial
16       env:
17         - MATRIX_EVAL="CC=gcc-8 CXX=g++-8"
18       compiler: gcc
19     # linux with gcc 7
20     - os: linux
21       addons:
22         apt:
23           sources:
24             - ubuntu-toolchain-r-test
25           install:
26             - gcc-7
27       dist: xenial
28       env:
29         - MATRIX_EVAL="CC=gcc-7 CXX=g++-7"
30       compiler: gcc
31     # linux with gcc 6
32     - os: linux
33       addons:
34         apt:
35           sources:
36             - ubuntu-toolchain-r-test
37           install:
38             - gcc-6
39       dist: xenial
40       env:
41         - MATRIX_EVAL="CC=gcc-6 CXX=g++-6"
42       compiler: gcc
43     # linux with gcc default (4.8)
44     - os: linux
45       dist: xenial
46       compiler: gcc
47     # linux with clang default (3.5)
48     - os: linux
49       dist: xenial
50       compiler: clang
51     # linux with clang 3.8
52     - os: linux
53       addons:
54         apt:
55           sources:
56             - ubuntu-toolchain-r-test
57           install:
58             - clang-3.8
59       dist: xenial
60       env:
61         - MATRIX_EVAL="CC=clang-3.8 CXX=clang++-3.8"
62       compiler: clang
63     # osx with xcode8.3/clang
64     - os: osx
65       osx_image: xcode8.3
66       compiler: clang
67     # osx with xcode9.2/clang
68     - os: osx
69       osx_image: xcode9.2
70       compiler: clang
71     # osx with xcode10.0/clang
72     - os: osx
73       osx_image: xcode10
74       compiler: clang
75     # osx with xcode10.1/clang
76     - os: osx
77       osx_image: xcode10.1
78       compiler: clang
79     # osx with xcode/clang (default)
80     - os: osx
81       compiler: clang
83 before_install:
84   - eval "${MATRIX_EVAL}"
85     # uninstalling oclint, as it's preinstalled and conflicts with all versions of gcc
86   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
87     brew cask uninstall oclint || true
88     brew update;
89     fi
90   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
92 install:
93   - ./.ci/install-deps.sh
95 before_script:
96   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig; fi
98 script:
99     - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
100         ./waf configure --prefix=/usr --alsa --classic --dbus --systemd-unit;
101         ./waf -v build;
102       fi
103     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
104         CXXFLAGS="${CXXFLAGS} -flax-vector-conversions" ./waf configure;
105         CXXFLAGS="${CXXFLAGS} -flax-vector-conversions" ./waf -v build;
106       fi
107     - sudo ./waf -v install
108 # run very basic tests
109     - sudo .ci/test_run.sh
111 branches:
112   only:
113     - /.*/
115 notifications:
116   email: false
117 # vim:set ts=2 sw=2 et: