1language: c
2sudo: false
3addons:
4  apt:
5matrix:
6    include:
7        - name: Linux (gcc-8)
8          os: linux
9          dist: xenial
10          compiler: gcc-8
11          addons:
12             apt:
13               sources:
14                 - ubuntu-toolchain-r-test
15               packages: g++-8
16        - name: Linux (clang)
17          os: linux
18          dist: xenial
19          compiler: clang
20        - name: macOS (xcode)
21          os: osx
22        - name: macOS (xcode 10.1)
23          os: osx
24          image: xcode10.1
25before_install:
26  - $CC --version
27  - cmake --version
28before_script:
29  - cmake -DLSQPACK_TESTS=ON .
30script:
31  - make
32  - make test
33