mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
travis: try out build matrix
This commit is contained in:
parent
d1aab2e418
commit
dac8da80b9
1 changed files with 11 additions and 10 deletions
21
.travis.yml
21
.travis.yml
|
@ -2,16 +2,16 @@ language: c
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
env:
|
matrix:
|
||||||
- CFLAGS=-Wall -W -Werror
|
include:
|
||||||
|
- os: linux
|
||||||
os:
|
env: CC=gcc
|
||||||
- linux
|
- os: linux
|
||||||
- osx
|
env: CC=clang
|
||||||
|
- os: osx
|
||||||
compiler:
|
env: CC=gcc
|
||||||
- gcc
|
- os: osx
|
||||||
- clang
|
env: CC=clang
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
|
@ -34,6 +34,7 @@ before_script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
|
- set CFLAGS=-Wall -W -Werror
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||||
|
|
Loading…
Reference in a new issue