Skip to content

Commit

Permalink
add push script in travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
caiyue1993 committed Apr 27, 2019
1 parent 7820e4f commit d7cc701
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

osx_image: xcode10

deploy:
provider: script
script: ./push.sh
on:
tags: true

language: swift

sudo: required
Expand Down
5 changes: 5 additions & 0 deletions push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

source ~/.rvm/scripts/rvm
rvm use default
pod trunk push IceCream.podspec --allow-warnings

0 comments on commit d7cc701

Please sign in to comment.