aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 826f82c70da2d9b00e71a4c17165dd24f606f3fd (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
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
dist: focal

jobs:
  include:
    - env: CONF=""
      os: osx
      osx_image: xcode12.2
      compiler: clang

    - env: CONF=""
      os: linux
      arch: amd64
      compiler: gcc
      addons: &linuxaddons
        apt:
          packages: &packages
            - libzmq3-dev
            - libzmq5
            - libfdk-aac-dev
            - automake
            - libtool
            - g++-10

before_install:
  - |
    if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    brew update
    brew install automake || true
    brew install zeromq || true
    brew install fdk-aac || true
    fi

script:
  - |
    ./bootstrap
    if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then
    export CC=gcc-10
    export CXX=g++-10
    fi
    ./configure $CONF
    make