Skip to content

Commit

Permalink
Merge pull request #40 from Nirma/travis_tuning
Browse files Browse the repository at this point in the history
Update .travis.yml
  • Loading branch information
Nirma authored Jul 12, 2020
2 parents 86fe744 + 8da98b3 commit 3997ba1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: objective-c
osx_image: xcode10.2
osx_image: xcode11.5
xcode_project: UIFontComplete.xcodeproj # path to your xcodeproj folder
xcode_scheme: UIFontComplete

script:
- xcodebuild test -scheme UIFontComplete-iOS -sdk iphonesimulator -destination 'OS=12.0,name=iPhone 7'
- xcodebuild test -scheme UIFontComplete-iOS -sdk iphonesimulator -destination 'OS=13.0,name=iPhone 11'
after_success:
- bash <(curl -s https://codecov.io/bash)
4 changes: 1 addition & 3 deletions Tests/UIFontCompleteTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1019,9 +1019,7 @@ class UIFontCompleteTests: XCTestCase {
func testHiraMaruProNW4() {
XCTAssert(UIFont(font: .hiraMaruProNW4, size: 12.0) != nil, "Font \"HiraMaruProN-W4\" can not be found.")
}
func testHiraginoSansW7() {
XCTAssert(UIFont(font: .hiraginoSansW7, size: 12.0) != nil, "Font \"HiraginoSans-W7\" can not be found.")
}

func testKefaRegular() {
XCTAssert(UIFont(font: .kefaRegular, size: 12.0) != nil, "Font \"Kefa-Regular\" can not be found.")
}
Expand Down
8 changes: 0 additions & 8 deletions UIFontComplete-tvOSTests/UIFontComplete_tvOSTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,6 @@ class UIFontComplete_tvOSTests: XCTestCase {
XCTAssert(UIFont(font: .geezaPro, size: 12.0) != nil, "Font \"GeezaPro\" can not be found.")
}

func testGurmukhiMN() {
XCTAssert(UIFont(font: .gurmukhiMN, size: 12.0) != nil, "Font \"GurmukhiMN\" can not be found.")
}

func testGurmukhiMNBold() {
XCTAssert(UIFont(font: .gurmukhiMNBold, size: 12.0) != nil, "Font \"GurmukhiMN-Bold\" can not be found.")
}

func testHelveticaOblique() {
XCTAssert(UIFont(font: .helveticaOblique, size: 12.0) != nil, "Font \"Helvetica-Oblique\" can not be found.")
}
Expand Down

0 comments on commit 3997ba1

Please sign in to comment.