travis, build: cocoapods build fixes and travis caches

This commit is contained in:
Péter Szilágyi
2016-11-11 12:06:24 +02:00
parent 5513c49c54
commit 4c16c82500
4 changed files with 18 additions and 3 deletions

View File

@ -799,7 +799,7 @@ func doXCodeFramework(cmdline []string) {
if *deploy != "" {
meta := newPodMetadata(env)
build.Render("build/pod.podspec", meta.Name+".podspec", 0755, meta)
build.MustRunCommand("pod", *deploy, "push", meta.Name+".podspec")
build.MustRunCommand("pod", *deploy, "push", meta.Name+".podspec", "--allow-warnings")
}
}

View File

@ -17,6 +17,6 @@ Pod::Spec.new do |spec|
curl https://gethstore.blob.core.windows.net/builds/geth-ios-all-{{.Version}}.tar.gz | tar -xvz
mkdir Frameworks
mv geth-ios-all-{{.Version}}/Geth.framework Frameworks
rm geth-ios-all-{{.Version}}
rm -rf geth-ios-all-{{.Version}}
CMD
end