2018-06-29 13:00:58 +08:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
macos:
|
|
|
|
xcode: "9.3.0"
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Install Dependencies
|
|
|
|
command: |
|
|
|
|
brew install swiftlint
|
|
|
|
- run:
|
|
|
|
name: Generate Xcode project
|
|
|
|
command: |
|
|
|
|
swift package generate-xcodeproj
|
|
|
|
- run:
|
|
|
|
name: Run tests
|
2018-07-23 19:59:52 +08:00
|
|
|
command: xcodebuild test -scheme tuist-Package -enableCodeCoverage YES
|
2018-06-29 13:00:58 +08:00
|
|
|
- run:
|
|
|
|
name: Send test coverage report
|
|
|
|
command: bash <(curl -s https://codecov.io/bash)
|