forked from distcc/distcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 866 Bytes
/
.travis.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
language: c
cache: ccache
addons:
apt:
packages:
- python3-dev
- libiberty-dev
- clang
- libavahi-client-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
script:
- ./autogen.sh
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --without-libiberty; fi
- make
- make check
matrix:
include:
- os: linux
compiler: gcc
dist: trusty
- os: linux
compiler: clang
dist: trusty
- os: osx
osx_image: xcode8.2
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- os: osx
osx_image: xcode8.2
compiler: clang
- os: osx
osx_image: xcode8.3
compiler: clang
- os: osx
osx_image: xcode9
compiler: clang