提交 693169ed 编写于 作者: M Mark VanderVoord 提交者: GitHub

Merge pull request #218 from 2trill2spill/master

Add OSX to travis-ci build.
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
language: c
matrix:
include:
- os: osx
compiler: clang
osx_image: xcode7.3
- os: linux
dist: trusty
compiler: gcc
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi
script:
- cd test && rake ci
- make -s
......
CC = gcc
ifeq ($(shell uname -s), Darwin)
CC = clang
CFLAGS += -std=c99 -pedantic -Wall -Weverything -Werror
CFLAGS += -Wno-unknown-warning-option -Wno-switch-enum
CFLAGS += -Wno-padded -Wno-double-promotion -Wno-missing-noreturn
CFLAGS += -Wno-missing-prototypes
endif
#DEBUG = -O0 -g
ifeq ($(shell uname -s), Linux)
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
endif
#DEBUG = -O0 -g
CFLAGS += $(DEBUG)
DEFINES = -D UNITY_OUTPUT_CHAR=putcharSpy
DEFINES += -D UNITY_SUPPORT_64 -D UNITY_INCLUDE_DOUBLE -D UNITY_NO_WEAK
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册