Skip to content

Commit

Permalink
store output to designated circle paths
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Feb 15, 2017
1 parent 348d445 commit dff7b4b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@ machine:
dependencies:
pre:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
- pod setup
- if [[ $CIRCLE_BRANCH == master ]]; then pod setup; fi
cache_directories:
- "~/.cocoapods/repos/master"

test:
override:
- rake test
- rake lint
- set -o pipefail
- swift test | tee $CIRCLE_ARTIFACTS/spm_test_raw.log
- xcodebuild -workspace StencilSwiftKit.xcworkspace -scheme Tests build-for-testing build-for-testing |
tee $CIRCLE_ARTIFACTS/xcode_build_raw.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/build.xml
- xcodebuild -workspace StencilSwiftKit.xcworkspace -scheme Tests build-for-testing test-without-building |
tee $CIRCLE_ARTIFACTS/xcode_test_raw.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/test.xml
post:
- if [[ $CIRCLE_BRANCH == master ]]; then rake lint; fi

0 comments on commit dff7b4b

Please sign in to comment.