Commit 438620e8 authored by Bernhard Nortmann's avatar Bernhard Nortmann
Browse files

travis-ci: Extend build matrix, disable email notifications



We'll be testing both gcc and clang builds on Linux. As for now,
Travis CI only supports clang for OSX - so exclude gcc currently.
Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent 5507c1f8
...@@ -6,6 +6,16 @@ language: c ...@@ -6,6 +6,16 @@ language: c
os: os:
- linux - linux
- osx - osx
compiler:
- gcc
- clang
# OSX uses Apple's flavor of clang anyway, so there's no point in using "gcc".
# This excludes the "gcc" compiler from the build matrix for OSX:
matrix:
exclude:
- os: osx
compiler: gcc
# take care of the libusb dependency for Linux # take care of the libusb dependency for Linux
addons: addons:
...@@ -24,3 +34,7 @@ before_install: ...@@ -24,3 +34,7 @@ before_install:
script: script:
- make - make
- make misc - make misc
# turn off email notifications
notifications:
- email: false
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
CC = gcc CC ?= gcc
CFLAGS = -g -O0 -Wall -Wextra CFLAGS = -g -O0 -Wall -Wextra
CFLAGS += -std=c99 $(DEFINES) CFLAGS += -std=c99 $(DEFINES)
CFLAGS += -Iinclude/ CFLAGS += -Iinclude/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment