Skip to content
Snippets Groups Projects
Commit dac8da80 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

travis: try out build matrix

parent d1aab2e4
No related branches found
No related tags found
1 merge request!74Travis ci
......@@ -2,16 +2,16 @@ language: c
sudo: required
dist: trusty
env:
- CFLAGS=-Wall -W -Werror
os:
- linux
- osx
compiler:
- gcc
- clang
matrix:
include:
- os: linux
env: CC=gcc
- os: linux
env: CC=clang
- os: osx
env: CC=gcc
- os: osx
env: CC=clang
cache:
apt: true
......@@ -34,6 +34,7 @@ before_script:
- mkdir build
- cd build
- cmake ..
- set CFLAGS=-Wall -W -Werror
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment