Skip to content

Commit

Permalink
CI Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
cocojoe committed Nov 24, 2019
1 parent 034d84d commit 0899654
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 8 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ jobs:
DEVICE: iPhone 8
FASTLANE_EXPLICIT_OPEN_SIMULATOR: 2
- run: |
cd Build/Build/ProfileData
cd ~/Library/Developer/Xcode/DerivedData/
cd $(ls -d */|head -n 1)
directory=${PWD##*/}
pathCoverage=Build/Build/ProfileData/${directory}/Coverage.profdata
directoryBase=${PWD##*/}
cd Build/ProfileData/
cd $(ls -d */|head -n 1)
directoryCoverage=${PWD##*/}
pathCoverage=${directoryBase}/Build/ProfileData/${directoryCoverage}/Coverage.profdata
cd ../../../../
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug-iphonesimulator/standard-swift.app/standard-swift > info.lcov
bash <(curl -s https://codecov.io/bash)
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage ${directoryBase}/Build/Products/Debug-iphonesimulator/Auth0.framework/Auth0 > info.lcov
bash <(curl -s https://codecov.io/bash) -J Auth0
- save_cache:
key: dependency-cache
paths:
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ platform :ios do
device: device,
clean: true,
skip_build: true,
output_types: 'junit'
code_coverage: true
)
end

Expand Down
2 changes: 0 additions & 2 deletions fastlane/Scanfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ scheme "Auth0.iOS"
devices ["iPhone 8"]

clean true

output_types "html"

0 comments on commit 0899654

Please sign in to comment.