Skip to content

Commit

Permalink
travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauddorgans committed Feb 17, 2019
1 parent 7c87049 commit 8f9f893
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions scripts/pod_lib_lint.sh → .scripts/pod_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ for pod in $(find . -name "*.podspec" -type f -exec basename {} ';' );do
push=1
fi
if [[ $pod == 'RxFirebase.podspec' ]]; then
continue
continue
fi
command="$pod --allow-warnings"
if [[ $push == 0 ]]; then
command="pod lib lint $pod --allow-warnings --verbose"
command="pod lib lint $command"
else
command="pod trunk push $pod --allow-warnings --verbose"
command="pod trunk push $command"
fi
echo $command
$command ; result=$?
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: swift
osx_image: xcode10.1
install:
script:
- travis_wait 50 sh scripts/pod_lib_lint.sh
- sh .scripts/pod_lib.sh
before_install:
- gem install cocoapods
- pod repo update && pod update

0 comments on commit 8f9f893

Please sign in to comment.