forked from breez/breezmobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (70 loc) · 9.84 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
os: osx
language: objective-c
osx_image: xcode11.2
addons:
ssh_known_hosts: packages.breez.technology
before_script:
- eval "$(ssh-agent -s)"
- chmod 600 ./travis/build_server_key
- ssh-add ./travis/build_server_key
- "./travis/add-key.sh"
- curl -o golang https://dl.google.com/go/go1.13.4.darwin-amd64.tar.gz
- mkdir go1.13.4
- tar -C $(pwd)/go1.13.4 -xzf golang
- export PATH=$(pwd)/go1.13.4/go/bin:$PATH
- export GOROOT=$(pwd)/go1.13.4/go
- go version
- brew install bazaar
- git clone https://github.com/breez/breez.git gopath/src/github.com/breez/breez
- export TMP_GOPATH=$(pwd)/gopath
- pushd gopath/src/github.com/breez/breez
- export GOPRIVATE=github.com/btcsuite/btcd
- go mod vendor
- export GOPATH=$TMP_GOPATH
- export GO111MODULE=off
- go get golang.org/x/mobile/cmd/gomobile
- go get golang.org/x/mobile/cmd/gobind
- "$GOPATH/bin/gomobile init"
- mkdir -p build/ios
- PATH=$PATH:$GOPATH/bin gomobile bind -target=ios -tags="ios experimental signrpc
walletrpc chainrpc invoicesrpc routerrpc backuprpc peerrpc submarineswaprpc breezbackuprpc"
-o build/ios/bindings.framework github.com/breez/breez/bindings
- popd
- brew install --HEAD usbmuxd
- brew link usbmuxd
- brew install --HEAD libimobiledevice
- brew install ideviceinstaller ios-deploy
- pod setup
- git clone https://github.com/flutter/flutter.git -b beta
script:
- mkdir -p $TRAVIS_BUILD_DIR/conf
- cp -r $GOPATH/src/github.com/breez/breez/build/ios/bindings.framework $TRAVIS_BUILD_DIR/ios/bindings.framework
- sftp builderfiles@packages.breez.technology:config/conf/lnd.conf $TRAVIS_BUILD_DIR/conf/lnd.conf
- sftp builderfiles@packages.breez.technology:config/conf/breez-lsp.conf $TRAVIS_BUILD_DIR/conf/breez.conf
- sftp builderfiles@packages.breez.technology:config/conf/marketplace.conf $TRAVIS_BUILD_DIR/conf/marketplace.conf
- sftp builderfiles@packages.breez.technology:config/conf/moonpay.conf $TRAVIS_BUILD_DIR/conf/moonpay.conf
- sftp builderfiles@packages.breez.technology:config/conf/GoogleService-Info.plist
$TRAVIS_BUILD_DIR/ios/Runner/GoogleService-Info.plist
- "./flutter/bin/flutter upgrade"
- "./flutter/bin/flutter build ios --no-codesign"
after_success:
- travis_wait ./travis/sign.sh
cache:
directories:
- "$HOME/.pub-cache"
env:
global:
- secure: QZp8VNCEixRL0SxUJMuEpk7WEkUs8nXy44MitvIgW9VZdACL+ncAY+1/XFW/sNZLYtkZufsMFVnVizihcJtcazW8MXcuEU+AVvI12UfZ8MUAEjkdJ+BIfiKY2jg0/NqSpLyfI53z8wmDepCkD1Bta8OnfM3fCWkGw8C7LpidTfASsI1fxW3ykC8y1CyZNmzb2AWWGFSrehL6ukW1yKgK9ppXT8bdc3NPkK1/UfxwbZinx+bqEG7yZ6KmPM6J6f0KuPgWVMQDe1W4ld8+BRR1Bo4iz/v5Tv/NKYZ3jc51WhupCpjIy6harpt+cjgpQht7kNtFSclUq5+lz/+UiWiKmg/uwI0JIbuskXUM6WTgcFNXJilWvUlTVnp0VFPx1edfMAon/cwR/aXpW+ZS6CKMAJIvMyYbvpsXT9PQh1dVPqwGoA83hK9Huds0RwUPOJrZeM5atpxXR4saDgw4iys2mviP6cerAWmVHZlOyTCWitMmrdsCp04w8RwCXQLQcY0381lvYlhibflkWC5DHneQKK277pFOIKthBSJTYXyWzunOyGZVIelh9mPZz7hnP0tyCHvyqlxlLdKSo9CMRnXuL2XDt3UFXg+9jrXpDkGVR3bG2FTPMsmLvFGevaoUJic1nVVKzypDoOGFr9aA+84cu5GCErGxUA+6ZP3jA7RZcv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PZ2Hw9tTRnu4K3FY+CLj7jLBJVqTZPuD1arfTb9pp6NYVImVEoMpkMQoZgkNHLOTcpGHTzFal7dTn8CTY75/tO1+Ep8qWVb3QldeKJMTvM1r8DyN63NiFl127OzYsc+yJDtG8a6+Fm7EbdX/LwcbMUq87H2iXDb3p/Hg1vW2I9u23Qr5XjZEqUY4DDqCjyLqbPV6VQqZcygGUdfpJHAq/yShMwSP3cStc3c696cj+UaK0YUpNFxwhQ+X6F5Si1+nSzLj0A0SdrHZ68kOJDEq4VSk0ErYDuV0NpYvTBV//pHUA+XqbDNq/lU4HhB2faKahWSeY0pDPdeD6npr6/Us8Mt8geEX8j9FZnZ2WqXGg/I5eeC0QxGmTlbZOJ6G9Cm/Z7NiE=
before_install:
- openssl aes-256-cbc -K $encrypted_fb5c5bbb0f3b_key -iv $encrypted_fb5c5bbb0f3b_iv
-in build_server_key.enc -out ./travis/build_server_key -d