language: swift os: osx osx_image: xcode11.5 xcode_workspace: ./Example/ZcashLightClientSample/ZcashLightClientSample.xcworkspace xcode_scheme: ZcashLightClientSample xcode_destination: platform=iOS Simulator,OS=13.1,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\=13.1,name\=iPhone\ 8 build - stage: Release - If Tagged Commit script: - echo "Checking for release tag" before_deploy: - echo "Found tagged release" - echo "Deploying CocoaPods" - brew outdated cocoapods || brew upgrade cocoapods - travis_wait 500 pod trunk push --skip-import-validation --skip-tests --allow-warnings