From 212058ffa48a979f7140f89da9f5e6e28fb0a282 Mon Sep 17 00:00:00 2001 From: Boris Emorine Date: Sun, 14 May 2017 11:46:21 -0700 Subject: [PATCH 1/2] Update .travis.yml --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) 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 From 3dd033de496f74a541c3117f3e7432cbb8bce2c7 Mon Sep 17 00:00:00 2001 From: Boris Emorine Date: Sun, 14 May 2017 11:59:23 -0700 Subject: [PATCH 2/2] Remove unuseful breaking test --- Sample Project/SimpleLineChartTests/SimpleLineChartTests.m | 1 - 1 file changed, 1 deletion(-) 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");