ZcashLightClientKit/.travis.yml

23 lines
997 B
YAML

language: swift
os: osx
osx_image: xcode12.2
xcode_workspace: ./Example/ZcashLightClientSample/ZcashLightClientSample.xcworkspace
xcode_scheme: ZcashLightClientSample
xcode_destination: platform=iOS Simulator,OS=14.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
- ${TRAVIS_BUILD_DIR}/Scripts/travis/ZcashLightClientSample_setup.sh
- curl https://z.cash/downloads/sapling-output.params > ${TRAVIS_BUILD_DIR}/ZcashLightClientKitTests/sapling-output.params
- curl https://z.cash/downloads/sapling-output.params > ${TRAVIS_BUILD_DIR}/ZcashLightClientKitTests/sapling-spend.params
script:
- swiftlint
- travis_wait 60 xcodebuild -quiet -UseModernBuildSystem=NO -workspace ./Example/ZcashLightClientSample/ZcashLightClientSample.xcworkspace -scheme ZcashLightClientSample -destination platform\=iOS\ Simulator,OS\=14.2,name\=iPhone\ 8 build