2018-10-28 11:10:10 -07:00
|
|
|
osx_image: xcode10
|
2019-01-03 01:39:35 -08:00
|
|
|
language: swift
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- Carthage
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- FRAMEWORK_NAME=MnemonicKit
|
|
|
|
before_install:
|
|
|
|
- gem install slather
|
|
|
|
- brew update
|
|
|
|
- brew outdated carthage || brew upgrade carthage
|
|
|
|
- carthage bootstrap --platform iOS --cache-builds
|
|
|
|
before_deploy:
|
|
|
|
- carthage build --no-skip-current --platform iOS --cache-builds
|
|
|
|
- carthage archive $FRAMEWORK_NAME
|
2018-10-28 11:10:10 -07:00
|
|
|
script:
|
2019-01-03 01:39:35 -08:00
|
|
|
- set -o pipefail && xcodebuild test -scheme MnemonicKit -destination 'platform=iOS Simulator,name=iPhone XS,OS=12.0' ONLY_ACTIVE_ARCH=YES | xcpretty
|
2018-10-28 11:10:10 -07:00
|
|
|
after_success:
|
|
|
|
- slather
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2019-01-03 01:39:35 -08:00
|
|
|
|