Skip to content

Commit

Permalink
Update travis, slather configuration to try include all the relevant …
Browse files Browse the repository at this point in the history
…information.
  • Loading branch information
nlutsenko committed May 27, 2015
1 parent c5680a0 commit 8071938
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .slather.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
service: travis_ci
coverage_service: coveralls
xcodeproj: Bolts.xcodeproj
source_directory: Bolts
build_directory: build
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
language: objective-c
osx_image: beta-xcode6.3
cache:
- bundler
- cocoapods
before_install:
- gem install xcpretty -N
- gem install cocoapods --pre --quiet
- gem install slather
- gem install xcpretty -N --no-ri --no-rdoc
- gem install cocoapods --pre --quiet --no-ri --no-rdoc
- gem install slather --no-ri --no-rdoc
- pod setup --silent
- pod repo update --silent
script:
- pod lib lint Bolts.podspec
- pod lib lint --use-libraries Bolts.podspec
- set -o pipefail
- xcodebuild -project Bolts.xcodeproj -sdk iphonesimulator -scheme Bolts test | xcpretty -c
- xcodebuild -project Bolts.xcodeproj -sdk macosx -scheme MacBolts test | xcpretty -c
- xcodebuild test -project Bolts.xcodeproj -sdk macosx -scheme MacBolts -configuration Debug OBJROOT="$PWD/build" SYMROOT="$PWD/build" ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
- xcodebuild test -project Bolts.xcodeproj -sdk iphonesimulator -scheme Bolts -configuration Debug OBJROOT="$PWD/build" SYMROOT="$PWD/build" ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
after_success:
- slather
4 changes: 0 additions & 4 deletions Bolts.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -891,8 +891,6 @@
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
Expand Down Expand Up @@ -931,8 +929,6 @@
CODE_SIGNING_REQUIRED = NO;
COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
Expand Down

0 comments on commit 8071938

Please sign in to comment.