summaryrefslogblamecommitdiff
path: root/.travis.yml
blob: 7557954cceed4a85ff8527412a44c35c710eff51 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                     

                            











                                                                                                                       
language: c

sudo: required
dist: trusty

os: linux

services:
  - docker

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi

matrix:
  include:
    - env: DISTRO=Ubuntu1710
    - env: DISTRO=Fedora27
    - env: DISTRO=Debian91
    - os: osx
      osx_image: xcode7.3
    - os: osx
      osx_image: xcode8.3

# Xcode 7.3.1, OS X 10.11
# Xcode 8.3.3, OS X 10.12

script:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then docker build -f  .ci/Dockerfile-$DISTRO . ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-build.sh ; fi