summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 1dc2872e4666ee8482509ae747fd57fe3f119972 (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
language: c

compiler:
    - clang
    - gcc

env:
    - BUILD_TYPE=Debug
    - BUILD_TYPE=Release

matrix:
    exclude:
        - compiler: clang
          env: BUILD_TYPE=Release

before_script:
    - sudo apt-get install cmake libglib2.0-dev
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE

script:
    - make
    - ./test/test-mock