Skip to content

Commit 5e62699

Browse files
committed
Update the travis-ci scrip to try again
1 parent 27acbef commit 5e62699

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ script:
3434
- xcodebuild build -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme SDWebImageLinkPlugin-Example -sdk iphonesimulator -destination 'name=iPhone 11 Pro' | xcpretty -c
3535

3636
- echo Clean DerivedData
37+
- rm -rf ~/Library/Developer/Xcode/DerivedData/
3738
- mkdir DerivedData
38-
- rm -rf ~/Library/Developer/Xcode/DerivedData
3939

4040
- echo Run the tests
41-
- xcodebuild test -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme 'SDWebImageLinkPlugin_Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11 Pro' -configuration Debug | xcpretty -c
41+
- xcodebuild clean test -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme 'SDWebImageLinkPlugin_Tests' -destination 'platform=iOS Simulator,name=iPhone 11 Pro' -configuration Debug -UseModernBuildSystem=NO CODE_SIGNING_ALLOWED=NO | xcpretty -c
4242
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
4343

4444
after_success:

Example/Tests/SDLinkPluginTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ - (void)testUIImageViewSetImageWithURL {
3535
expect(imageView.image).to.equal(image);
3636
[expectation fulfill];
3737
}];
38-
[self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil];
38+
[self waitForExpectationsWithTimeout:kAsyncTestTimeout * 5 handler:nil];
3939
}
4040

4141
- (void)testLPLinkViewSetImageWithURL {
@@ -59,7 +59,7 @@ - (void)testLPLinkViewSetImageWithURL {
5959
expect(metadata.title).notTo.beNil();
6060
[expectation fulfill];
6161
}];
62-
[self waitForExpectationsWithTimeout:kAsyncTestTimeout handler:nil];
62+
[self waitForExpectationsWithTimeout:kAsyncTestTimeout * 5 handler:nil];
6363
}
6464

6565
@end

0 commit comments

Comments
 (0)