aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 98f937f4cc1134199387ec42bdea5921379d8c12 (plain) (blame)
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
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
    - env: DISTRO=Archlinux
    - 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