Modified .travis.yml to use a matrix and the default build scripts

pull/3578/head
Jerome Chan 3 years ago
parent d93c5474c4
commit 74b5a51a94
  1. 32
      .travis.yml

@ -1,26 +1,20 @@
language: swift
---
os: osx
language: objective-c
osx_image: xcode13.1
cache:
bundler: true
cocoapods: true
branches:
only:
- master
env:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
cache:
- bundler
- cocoapods
before_install:
- bundle install
- pod install --repo-update
- travis_wait brew update
- brew install swiftlint || true
- OS_Version="14.5"
- OS_Version="15.0"
jobs:
exclude:
- env: LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
script:
- set -o pipefail
- xcodebuild -workspace AlphaWallet.xcworkspace -scheme AlphaWalletTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 12,OS=14.5" test | xcpretty
- xcodebuild -workspace AlphaWallet.xcworkspace -scheme AlphaWalletTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 12,OS=15.0" test | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)
- set -o pipefail && xcodebuild -workspace AlphaWallet.xcworkspace -scheme AlphaWalletTests -destination platform\=iOS\ Simulator,OS\=$OS_Version,name\=iPhone\ 12 build test | xcpretty
...

Loading…
Cancel
Save