Skip to content

Commit 1894c18

Browse files
committed
update travis config
1 parent f1300b4 commit 1894c18

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: objective-c
2+
cache: cocoapods
3+
xcode_workspace: SWTableViewCell.xcworkspace
4+
xcode_scheme: SWTableViewCell
5+
xcode_sdk: iphonesimulator
6+
27
before_install:
3-
- export LANG=en_US.UTF-8
4-
- gem install cocoapods xcpretty slather -N
5-
- pod install
6-
7-
script:
8-
- set -o pipefail && xcodebuild test -workspace SWTableViewCell.xcworkspace -scheme SWTableViewCell -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
8+
- gem install cocoapods slather -N
99

1010
after_success: slather

SWTableViewCellTests/SWTableViewCellTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
__block SWTableViewCell *cell;
5858

5959
before(^{
60-
cell = [[SWTableViewCell alloc] init];
60+
cell = [[SWTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
6161
[cell setRightUtilityButtons:rightButtons WithButtonWidth:44.0f];
6262
[cell setLeftUtilityButtons:leftButtons WithButtonWidth:44.0f];
6363
});

0 commit comments

Comments
 (0)