diff --git a/.travis.yml b/.travis.yml index 3b9fcb4..2765941 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: objective-c osx_image: xcode7.2 - env: global: - FRAMEWORK_NAME=SwiftyTextTable @@ -10,7 +9,7 @@ before_install: - ./scripts/upstall-swiftlint.sh script: -- set -o pipefail && xcodebuild -scheme SwiftyTextTable -project SwiftyTextTable.xcodeproj clean build test | xcpretty + - set -o pipefail && xcodebuild -scheme SwiftyTextTable -project SwiftyTextTable.xcodeproj clean build test | xcpretty after_success: - bash <(curl -s https://codecov.io/bash) @@ -18,3 +17,13 @@ after_success: before_deploy: - carthage build --no-skip-current - carthage archive $FRAMEWORK_NAME + +deploy: + provider: releases + api_key: + secure: CLgRTCkr9FXlDS9bTejaSCUN78lT110kyFXsod+LAGZo/zqzebVwo/XTqSIdHV6raWP+KsazUNyt4YhjZgaLG2CCf+MZVY2yelnuE419/rgSqW2FrVkcMqhIc+vFAp57qK/E8mC5GnZO35uhxZ0CM98h75G7pL2ebWu/WmB9zV3nujNl1mTXRIMD9SRihjzM+RjyrNAPZyqvVkFM4nJBUTA3jW+QsbqcNy7ds1Erz/kFsuBHCTbbYaqq+W7vZAL7NQlaqfpcN1jSxh0PuaEjLicCMqzDpkd0ODeu1F0r9Ql/9Nf7QiWv8BusBdwBqee2p+ET7h2hXYXzkNYkVCz1Gp8twviXcQNyfM3h8lhqcvsYPcjXIWEHzwgNsUlltFH62//JqlJegU17p2WniJXtHNHsjcEnjC1ngLix+IBSv9z1uJPYGisSA4AwLjiiEQc8UhRNT8DOmrVmRcODIU8PMfJPiwmA8eBpVb6bwD/zwMDtH3E40gO1qTIvz496I0VT+81GfDYv0xfHcER++OBpCNjLnnInTFCDmF8XaPR14jusCyWbAeL5pGb4K6HcwYPWM5g27/2yaUNY7haI1BFi/p/apQ9sFzWeHJ0BG3hwNUPrLwIsqTyXZm5Q/OuDeaHa7Ye9qbJtO281m09a2qWEmBx/fZHQuT4eNbe1W/xoWcA= + file: $FRAMEWORK_NAME.framework.zip + skip_cleanup: true + on: + repo: scottrhoyt/SwiftyTextTable + tags: true