-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
409531e
commit 2ba812f
Showing
1 changed file
with
29 additions
and
11 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 |
---|---|---|
@@ -1,11 +1,29 @@ | ||
language: swift | ||
osx_image: xcode11.5 | ||
os: osx | ||
install: | ||
- swift package update | ||
script: | ||
- swift build | ||
- swift test --enable-code-coverage | ||
after_success: | ||
- xcrun llvm-cov export -format="lcov" .build/debug/cgtcalcPackageTests.xctest/Contents/MacOS/cgtcalcPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov | ||
- bash <(curl -s https://codecov.io/bash) | ||
env: | ||
global: | ||
- SWIFT_BRANCH=swift-5.2.4-release | ||
- SWIFT_VERSION=swift-5.2.4-RELEASE | ||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode11.5 | ||
language: swift | ||
install: | ||
- swift package update | ||
script: | ||
- swift build | ||
- swift test --enable-code-coverage | ||
after_success: | ||
- xcrun llvm-cov export -format="lcov" .build/debug/cgtcalcPackageTests.xctest/Contents/MacOS/cgtcalcPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov | ||
- bash <(curl -s https://codecov.io/bash) | ||
- os: linux | ||
dist: bionic | ||
language: generic | ||
sudo: required | ||
install: | ||
- sudo apt-get install clang libicu-dev | ||
- mkdir swift | ||
- curl https://swift.org/builds/$SWIFT_BRANCH/ubuntu1804/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu18.04.tar.gz -s | tar xz -C swift &> /dev/null | ||
- export PATH="$(pwd)/swift/$SWIFT_VERSION-ubuntu18.04/usr/bin:$PATH" | ||
- swift package update | ||
script: | ||
- swift test |