From 66ae86c986aab97feae807068efae06599318ea2 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 31 Jan 2019 08:37:14 -0500 Subject: [PATCH] Enable codecov.io --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f482da7..fe57b5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,9 +19,10 @@ jobs: name: macOS / Swift 4.2.1 - &xcodebuild - before_install: swift package generate-xcodeproj + before_install: swift package generate-xcodeproj --enable-code-coverage xcode_destination: platform=iOS Simulator,OS=latest,name=iPhone XS name: iOS / Swift 4.2.1 + after_success: bash <(curl -s https://codecov.io/bash) - <<: *xcodebuild xcode_destination: platform=tvOS Simulator,OS=latest,name=Apple TV name: tvOS / Swift 4.2.1 @@ -34,6 +35,7 @@ jobs: -scheme Path.swift-Package \ -destination 'platform=watchOS Simulator,OS=latest,name=Apple Watch Series 4 - 40mm' \ build | xcpretty + after_success: false - &linux env: SWIFT_VERSION=4.2.1