Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
f3228592
Commit
f3228592
authored
Nov 17, 2016
by
Péter Szilágyi
Committed by
Jeffrey Wilcke
Nov 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: dash of black magic to summon the cache daemon (#3288)
parent
87b8254d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
.travis.yml
.travis.yml
+8
-9
ci.go
build/ci.go
+1
-2
No files found.
.travis.yml
View file @
f3228592
...
...
@@ -59,10 +59,6 @@ matrix:
env
:
-
azure-osx
-
mobile
cache
:
directories
:
-
$HOME/.android.platforms
-
$HOME/.cocoapods
script
:
-
go run build/ci.go install
-
go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
...
...
@@ -71,21 +67,24 @@ matrix:
-
brew update
-
brew install android-sdk maven gpg
-
alias gpg="gpg2"
-
export ANDROID_HOME=/usr/local/opt/android-sdk
-
mkdir -p $ANDROID_HOME/platforms
-
mv -f $HOME/.android.platforms $ANDROID_HOME/platforms
-
export ANDROID_HOME=/usr/local/opt/android-sdk
-
echo "y" | android update sdk --no-ui --filter `android list sdk | grep "SDK Platform Android" | grep -E 'API 15|API 19|API 24' | awk '{print $1}' | cut -d '-' -f 1 | tr '\n' ','`
-
go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
-
mv -f $ANDROID_HOME/platforms $HOME/.android.platforms
# Build the iOS framework and upload it to CocoaPods and Azure
-
gem uninstall cocoapods -a
-
gem install cocoapods --pre
-
mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak
-
sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb
-
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master && pod setup --verbose; fi
-
xctool -version
-
xcrun simctl list
-
travis_wait 30 go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
-
go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
install
:
-
go get golang.org/x/tools/cmd/cover
...
...
build/ci.go
View file @
f3228592
...
...
@@ -777,7 +777,6 @@ func doXCodeFramework(cmdline []string) {
// Build the iOS XCode framework
build
.
MustRun
(
goTool
(
"get"
,
"golang.org/x/mobile/cmd/gomobile"
))
build
.
MustRun
(
gomobileTool
(
"init"
))
archive
:=
"geth-"
+
archiveBasename
(
"ios"
,
env
)
if
err
:=
os
.
Mkdir
(
archive
,
os
.
ModePerm
);
err
!=
nil
{
...
...
@@ -799,7 +798,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"
,
"--allow-warnings"
)
build
.
MustRunCommand
(
"pod"
,
*
deploy
,
"push"
,
meta
.
Name
+
".podspec"
,
"--allow-warnings"
,
"--verbose"
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment