Skip to content

Commit

Permalink
update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
addoshi committed May 1, 2015
1 parent f1300b4 commit 1894c18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: objective-c
cache: cocoapods
xcode_workspace: SWTableViewCell.xcworkspace
xcode_scheme: SWTableViewCell
xcode_sdk: iphonesimulator

before_install:
- export LANG=en_US.UTF-8
- gem install cocoapods xcpretty slather -N
- pod install

script:
- set -o pipefail && xcodebuild test -workspace SWTableViewCell.xcworkspace -scheme SWTableViewCell -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
- gem install cocoapods slather -N

after_success: slather
2 changes: 1 addition & 1 deletion SWTableViewCellTests/SWTableViewCellTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
__block SWTableViewCell *cell;

before(^{
cell = [[SWTableViewCell alloc] init];
cell = [[SWTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
[cell setRightUtilityButtons:rightButtons WithButtonWidth:44.0f];
[cell setLeftUtilityButtons:leftButtons WithButtonWidth:44.0f];
});
Expand Down

0 comments on commit 1894c18

Please sign in to comment.