Merge pull request #8 from fireblade-engine/feature/codecov
Add codecov.io support
This commit is contained in:
commit
ca770b0b34
|
|
@ -0,0 +1,5 @@
|
|||
ignore:
|
||||
- "Tests/"
|
||||
|
||||
comment:
|
||||
layout: header, changes, diff
|
||||
|
|
@ -5,9 +5,16 @@ language: generic
|
|||
sudo: required
|
||||
dist: bionic
|
||||
osx_image: xcode11
|
||||
env: SWIFT_VERSION=5.1
|
||||
install:
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"; fi
|
||||
script:
|
||||
- swift package reset
|
||||
- swift build
|
||||
- swift test
|
||||
- swift test --enable-code-coverage
|
||||
- xcrun llvm-cov show -instr-profile=.build/debug/codecov/default.profdata .build/debug/FirebladeECSPackageTests.xctest/Contents/MacOS/FirebladeECSPackageTests > fireblade_ecs_coverage.txt
|
||||
|
||||
after_success:
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
||||
bash <(curl -s https://codecov.io/bash);
|
||||
fi
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
[](https://swift.org/download)
|
||||
[](#)
|
||||
[](#)
|
||||
[](https://codecov.io/gh/fireblade-engine/ecs)
|
||||
|
||||
This is a **dependency free**, **lightweight**, **fast** and **easy to use** [Entity-Component System](https://en.wikipedia.org/wiki/Entity_component_system) implementation in Swift. It is developed and maintained as part of the [Fireblade Game Engine project](https://github.com/fireblade-engine).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue