summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 654ab5ba5943ca52de7e2b9d22266740daa5585e (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
language: c
cache:
    ccache: true
    directories:
        - $HOME/Library/Caches/Homebrew
branches:
    except:
        - /appveyor.*/

os: osx
osx_image: xcode9.2

matrix:
  include:
    - env: TOOL=meson
    - env: TOOL=autotools

install:
    - brew update
    - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache meson

script:
    - ./test/scripts/build-travis-osx.sh $TOOL
    - ccache -s

before_cache:
    - brew cleanup