Răsfoiți Sursa

Merge pull request #179 from onevcat/ci/code-cov

Ci/code cov
Wei Wang 10 ani în urmă
părinte
comite
b402b48a86
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -4,4 +4,6 @@ osx_image: xcode7.1
 xcode_workspace: Kingfisher.xcworkspace
 xcode_scheme: Kingfisher
 
-script: xcodebuild -workspace Kingfisher.xcworkspace -scheme Kingfisher -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' test | xcpretty
+script: xcodebuild -workspace Kingfisher.xcworkspace -scheme Kingfisher -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' clean test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty && exit ${PIPESTATUS[0]}
+after_success:
+    - bash <(curl -s https://codecov.io/bash)