Skip to content

Commit

Permalink
Minor travis-ci update
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindelord committed Jun 28, 2017
1 parent cd2bcca commit 9edbbc3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
language: objective-c
osx_image: xcode8.3
sudo: false
xcode_workspace: DKDBManager.xcworkspace
xcode_sdk: iphonesimulator10.3
xcode_scheme: DKDBManager
sudo: false
osx_image: xcode8.3
xcode_sdk: iphonesimulator10.3

before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage update --platform iOS
- gem install cocoapods -v '1.2.1'
- pod repo update

before_script:
- carthage bootstrap

script:
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild test -destination "platform=iOS Simulator,name=iPhone 6s,OS=10.3.1" -configuration Release -workspace DKDBManager.xcworkspace -scheme DKDBManager -sdk iphonesimulator10.3 GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES | xcpretty
- xcodebuild test -workspace DKDBManager.xcworkspace -scheme DKDBManager -destination "platform=iOS Simulator,name=iPhone 6s,OS=10.3.1" -configuration Release -sdk iphonesimulator10.3 GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES | xcpretty

before_deploy:
- carthage build --no-skip-current
- carthage archive DKDBManager

deploy:
provider: releases
file: DKDBManager.framework.zip
Expand Down

0 comments on commit 9edbbc3

Please sign in to comment.