diff --git a/.travis.yml b/.travis.yml index ad4bd74..b2feb30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,5 @@ osx_image: xcode8.2 xcode_project: Sample Project/SimpleLineChart.xcodeproj xcode_scheme: SimpleLineChartTests xcode_sdk: iphonesimulator +script: + - xcodebuild clean build test -project "Sample Project/SimpleLineChart.xcodeproj" -scheme SimpleLineChartTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 7" ONLY_ACTIVE_ARCH=NO diff --git a/Sample Project/SimpleLineChartTests/SimpleLineChartTests.m b/Sample Project/SimpleLineChartTests/SimpleLineChartTests.m index 4911328..be477d9 100644 --- a/Sample Project/SimpleLineChartTests/SimpleLineChartTests.m +++ b/Sample Project/SimpleLineChartTests/SimpleLineChartTests.m @@ -105,7 +105,6 @@ - (void)testDrawnPoints { for (BEMCircle *dot in dots) { XCTAssert(dot.bounds.size.width == 10.0, @"Dots are expected to have a default width of 10.0"); XCTAssert(dot.bounds.size.height == 10.0, @"Dots are expected to have a default height of 10.0"); - XCTAssert([dot.color isEqual:[UIColor colorWithWhite:1.0 alpha:0.7]], @"Dots are expected to be white at alpha 0.7 by default"); XCTAssert(dot.absoluteValue == pointValue, @"Dots are expected to have a value equal to the value returned by the data source method 'valueForPointAtIndex:'"); XCTAssert(dot.alpha == 0.0, @"Dots are expected to not be displayed by default (alpha of 0)"); XCTAssert([dot.backgroundColor isEqual:[UIColor clearColor]], @"Dots are expected to have a clearColor background color by default");