tuist/.circleci/config.yml

40 lines
937 B
YAML
Raw Normal View History

2018-06-29 13:00:58 +08:00
version: 2
workflows:
version: 2
build:
jobs:
- build:
context: tuist
2018-06-29 13:00:58 +08:00
jobs:
build:
macos:
2018-12-06 04:42:46 +08:00
xcode: '10.1.0'
2018-06-29 13:00:58 +08:00
steps:
- checkout
- run:
name: Install Dependencies
command: |
brew install swiftlint
bundle install
- run:
name: Run Danger
command: bundle exec danger
2018-06-29 13:00:58 +08:00
- run:
name: Generate Xcode project
command: |
swift package generate-xcodeproj
- run:
name: Build for release
command: |
swift build -c release
2018-06-29 13:00:58 +08:00
- run:
name: Run unit tests
2018-07-23 19:59:52 +08:00
command: xcodebuild test -scheme tuist-Package -enableCodeCoverage YES
- run:
name: Run acceptance tests
command: bundle exec rake features
2018-06-29 13:00:58 +08:00
- run:
name: Send test coverage report
command: bash <(curl -s https://codecov.io/bash)