File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1- language : ruby
2- rvm :
3- - " 1.9.3"
4- - " 2.0.0"
1+ language : c
2+
3+ matrix :
4+ include :
5+ - os : osx
6+ compiler : clang
7+ osx_image : xcode7.3
8+ - os : linux
9+ dist : trusty
10+ compiler : gcc
11+
12+ before_install :
13+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi
514script :
615 - cd test && rake ci
716 - make -s
Original file line number Diff line number Diff line change 11CC = gcc
22ifeq ($(shell uname -s) , Darwin)
33CC = clang
4+ CFLAGS += -std=c99 -pedantic -Wall -Weverything -Werror
5+ CFLAGS += -Wno-unknown-warning-option -Wno-switch-enum
6+ CFLAGS += -Wno-padded -Wno-double-promotion -Wno-missing-noreturn
7+ CFLAGS += -Wno-missing-prototypes
48endif
5- # DEBUG = -O0 -g
9+ ifeq ( $( shell uname -s) , Linux)
610CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
11+ endif
12+ # DEBUG = -O0 -g
713CFLAGS += $(DEBUG )
814DEFINES = -D UNITY_OUTPUT_CHAR=putcharSpy
915DEFINES += -D UNITY_SUPPORT_64 -D UNITY_INCLUDE_DOUBLE -D UNITY_NO_WEAK
You can’t perform that action at this time.
0 commit comments