Skip to content

Instantly share code, notes, and snippets.

@mikecole20
Created May 4, 2017 17:45
Show Gist options
  • Save mikecole20/3744482ed11d4891cfbadc0b91c435a1 to your computer and use it in GitHub Desktop.
Save mikecole20/3744482ed11d4891cfbadc0b91c435a1 to your computer and use it in GitHub Desktop.
CircleCI for Vapor
machine:
xcode:
version: "8.3"
dependencies:
pre:
- brew install postgres
- brew install vapor/tap/vapor
- swift package fetch
cache_directories:
- "./.build"
compile:
override:
- vapor build
test:
override:
- set -o pipefail &&
swift test 2>&1 |
tee $CIRCLE_ARTIFACTS/test.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/results.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment