-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from dmsurti/add-code-cov
馃憤
- Loading branch information
Showing
5 changed files
with
77 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
codecov: | ||
ignore: | ||
- "assets/*" | ||
- "iOS-Example/*" | ||
- "OSX-Example/*" | ||
- "Assimp/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
language: objective-c | ||
osx_image: xcode8 | ||
|
||
env: | ||
global: | ||
- LC_CTYPE=en_US.UTF-8 | ||
- LANG=en_US.UTF-8 | ||
|
||
before_install: | ||
- env | ||
- locale | ||
- xcpretty --version | ||
- xcodebuild -version | ||
- xcodebuild -showsdks | ||
|
||
script: | ||
- xcodebuild \ | ||
-project AssimpKit/OSX-Example/OSX-Example.xcodeproj \ | ||
-scheme AssimpSceneKit_LogicTests \ | ||
-destination 'platform=OS X,arch=x86_64' | ||
clean build test | xcpretty -c --test --color | ||
- xcodebuild \ | ||
-project AssimpKit/iOS-Example/iOS-Example.xcodeproj \ | ||
-scheme AssimpSceneKit_LogicTests \ | ||
-destination 'platform=iOS Simulator,OS=10.0,name=iPhone 6' \ | ||
clean build test | xcpretty -c --test --color | ||
- echo Test the AssimpSceneKit static library for macOS | ||
- xcodebuild -project AssimpKit/OSX-Example/OSX-Example.xcodeproj -scheme AssimpSceneKit_LogicTests -destination 'platform=OS X,arch=x86_64' GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | ||
|
||
- echo Test the AssimpSceneKit static library for iOS | ||
- xcodebuild -project AssimpKit/iOS-Example/iOS-Example.xcodeproj -scheme AssimpSceneKit_LogicTests -destination 'platform=iOS Simulator,OS=10.0,name=iPhone 6' clean test | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# [AssimpKit](https://dmsurti.github.io/AssimpKit/) | ||
AssimpKit | ||
========= | ||
|
||
[![Build | ||
Status](https://travis-ci.org/dmsurti/AssimpKit.svg?branch=master)](https://travis-ci.org/dmsurti/AssimpKit) | ||
|
||
A cross platform library (macOS, iOS) that coverts the files supported by [Assimp](https://github.com/assimp/assimp) to [Scene Kit](https://developer.apple.com/reference/scenekit) scenes. | ||
[![codecov](https://codecov.io/gh/dmsurti/AssimpKit/branch/master/graph/badge.svg)](https://codecov.io/gh/dmsurti/AssimpKit) | ||
|
||
**AssimpKit** is a cross platform library (macOS, iOS) that coverts the files supported by [Assimp](https://github.com/assimp/assimp) to [Scene Kit](https://developer.apple.com/reference/scenekit) scenes. | ||
|