Skip to content

Commit

Permalink
Install Carthage only in before_deploy on Travis (#47)
Browse files Browse the repository at this point in the history
This should slightly decrease Travis build time for builds running from untagged commits.
  • Loading branch information
MaxDesiatov committed Dec 28, 2018
1 parent cf5cce2 commit 46925e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -7,12 +7,12 @@ before_install:
- gem install cocoapods --pre # Since Travis is not always on latest version
- brew update
- brew install swiftformat
- brew outdated carthage || brew upgrade carthage
script:
- swiftformat --lint --verbose .
- pod lib lint
- xcodebuild test -enableCodeCoverage YES -scheme XMLCoder
before_deploy:
- brew outdated carthage || brew upgrade carthage
- carthage build --no-skip-current
- carthage archive $FRAMEWORK_NAME
after_success:
Expand Down

0 comments on commit 46925e4

Please sign in to comment.