shithub: opusfile

ref: 54056fde8abcc00d3b7f3b22176cab7dd9fb8c65
dir: /.travis.yml/

View raw version
language: c

compiler:
  - gcc
  - clang

os:
  - linux
  - osx

osx_image: xcode11.3

addons:
  apt:
    packages:
      - doxygen
      - libogg-dev
      - libopus-dev
      - libssl-dev
      - wget
  homebrew:
    brewfile: true

env: PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig

before_script:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
      wget https://cmake.org/files/v3.16/cmake-3.16.9-Linux-x86_64.tar.gz;
      tar xzf cmake-3.16.9-Linux-x86_64.tar.gz;
      export PATH="${PWD}/cmake-3.16.9-Linux-x86_64/bin:${PATH}";
    fi

script:
  - cmake -Bbuild -H.
  - cmake --build build
  - ./autogen.sh
  - ./configure
  - make
  - make distcheck