Turns out, travis doesn't support 8.3, reverting to 8.1 :(

This commit is contained in:
Christopher Chedeau 2015-05-13 16:50:13 -07:00
parent 4b1f01ada2
commit 50a58e108a
2 changed files with 2 additions and 5 deletions

View File

@ -58,6 +58,3 @@ env:
branches:
only:
- master
xcode_sdk:
- iphonesimulator8.3

View File

@ -38,11 +38,11 @@
RCTAssert(!__LP64__, @"Snapshot tests should be run on 32-bit device simulators (e.g. iPhone 5)");
#endif
NSString *version = [[UIDevice currentDevice] systemVersion];
RCTAssert([version isEqualToString:@"8.3"], @"Snapshot tests should be run on iOS 8.3, found %@", version);
RCTAssert([version isEqualToString:@"8.1"], @"Snapshot tests should be run on iOS 8.1, found %@", version);
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerApp");
// If tests have changes, set recordMode = YES below and run the affected
// tests on an iPhone5, iOS 8.3 simulator.
// tests on an iPhone5, iOS 8.1 simulator.
_runner.recordMode = NO;
}