| 1 | language: c |
| 2 | dist: bionic |
| 3 | os: |
| 4 | - linux |
| 5 | compiler: |
| 6 | - clang |
| 7 | - gcc |
| 8 | arch: |
| 9 | - amd64 |
| 10 | - arm64 |
| 11 | env: |
| 12 | global: |
| 13 | - MAKEFLAGS="-j 2" |
| 14 | matrix: |
| 15 | include: |
| 16 | - os: linux |
| 17 | compiler: gcc |
| 18 | arch: amd64 |
| 19 | env: BUILD_ARCH="x86" # Only do the gcc x86 build to reduce clutter |
| 20 | # Default xcode image |
| 21 | - os: osx |
| 22 | compiler: clang # Workaround travis setting CC=["clang", "gcc"] |
| 23 | arch: amd64 |
| 24 | # Latest xcode image (needs periodic updating) |
| 25 | - os: osx |
| 26 | compiler: clang |
| 27 | osx_image: xcode11.2 |
| 28 | arch: amd64 |
| 29 | exclude: |
| 30 | - os: osx |
| 31 | compiler: gcc |
| 32 | |
| 33 | install: |
| 34 | - ci/travis-install.sh |
| 35 | |
| 36 | script: |
| 37 | - ci/travis-build.sh |