Add .travis.yml and 2 more files to support building on travis ci (#136)
This commit is contained in:
parent
5e19269822
commit
796ba6b727
|
@ -0,0 +1,24 @@
|
|||
language: swift
|
||||
os: osx
|
||||
osx_image: xcode11.5
|
||||
xcode_workspace: ./wallet/wallet.xcworkspace
|
||||
xcode_scheme: wallet
|
||||
xcode_destination: platform=iOS Simulator,OS=13.2.2,name=iPhone 8
|
||||
addons:
|
||||
homebrew:
|
||||
packages:
|
||||
- rustup-init
|
||||
- sourcery
|
||||
env:
|
||||
global:
|
||||
- ZCASH_NETWORK_ENVIRONMENT: TESTNET
|
||||
install:
|
||||
- ${TRAVIS_BUILD_DIR}/Scripts/travis/rust_setup.sh
|
||||
- WALLET_DIR=${TRAVIS_BUILD_DIR}/wallet
|
||||
- WALLET_WALLET_DIR=${WALLET_DIR}/wallet
|
||||
- cp ${WALLET_DIR}/env-vars.sh.example ${WALLET_DIR}/env-vars.sh
|
||||
- cd ${WALLET_DIR} ; pod install ; cd ${TRAVIS_BUILD_DIR}
|
||||
- curl https://download.z.cash/downloads/sapling-output.params > ${WALLET_WALLET_DIR}/sapling-output.params
|
||||
- curl https://download.z.cash/downloads/sapling-spend.params > ${WALLET_WALLET_DIR}/sapling-spend.params
|
||||
script:
|
||||
- travis_wait 60 xcodebuild -quiet -workspace ${TRAVIS_BUILD_DIR}/wallet/wallet.xcworkspace -scheme wallet -destination platform\=iOS\ Simulator,OS\=13.2.2,name\=iPhone\ 8 build
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
rustup-init --verbose -y
|
||||
|
||||
source $HOME/.cargo/env
|
||||
|
||||
cargo install cargo-lipo
|
||||
rustup target add aarch64-apple-ios x86_64-apple-ios
|
|
@ -0,0 +1 @@
|
|||
export LIGHTWALLETD_ADDRESS="localhost%3a9067"
|
Loading…
Reference in New Issue