MnemonicSwift/.travis.yml

41 lines
2.4 KiB
YAML
Raw Normal View History

2019-04-24 17:02:47 -07:00
osx_image: xcode10.2
language: swift
cache:
directories:
- Carthage
env:
2019-01-08 14:23:37 -08:00
secure: ink5jhbtR9aGbiVzcrPP+jBLtYKmZ61uxmXmqwqsyAZip2zbL/tktXdLaeNhUnlJHazZF156rOFe5DFSElFmNYvpSZrXJCVMxwWKB+MJWQ879LUk6W4W65jTvkXKZmMrrUqwkOTNNMq0ycfs5tx+eFJBzHd3Z93OX0oKwb44ZjC1NC05LGJfOlZQs+7IWYKXu0XKpZ/Zo+n4jGxMPEaQCMifz8ac8WVAgsgXs5R3ANrAd6AtBHZqNLu+NzGi5FQ2u7M1EERWo69qAmmHQYKB9aYyERi4cU6KD3XF8B89szR3pH41avfYFs+ZqenF7yAm0dN5UoLBqHA5s+yBQ1kzZbvcCunEU88XjgeRuzwTUfyTq8RIN+BNzaAwSCgu/fNMaFLOZjYAXK+gtVm2elx69maC6N+hKpZblmgUtmaOQyXzY3pVNXdqCqqqzIrqSyvqPuuNSzLxjVFJUW8ycYEfB4Iywcwl74IlxWJ58WpeCgMW3cVE4l4kxw+ZWoVniumpVlp69QtgwHloUosOzmzoIwLjgEm6uGZvr3DIKKXwLZACtq8Oj7uhm8iNV4sU5eS0w+b+VC6gYCxI4yOZHWhwtBG4QtrKlEvXC0Gjy4rIXN0JuKiAHLZKiCr0YuCmks2xXv2INNnJAIBVlJ7URVY4OSY+eqCiWUSobO8n48Zu7gk=
before_install:
- gem install slather
- brew update
- brew outdated carthage || brew upgrade carthage
2019-10-27 20:19:12 -07:00
- brew outdated cocoapods || brew upgrade cocoapods
2019-10-27 20:50:03 -07:00
- brew install xcodegen
before_deploy:
2019-04-26 09:47:14 -07:00
- travis_wait 120 carthage build --no-skip-current --platform iOS --cache-builds
- carthage archive $FRAMEWORK_NAME
2019-01-08 14:22:48 -08:00
after_deploy:
2019-04-26 15:24:35 -07:00
- travis_wait 120 pod trunk push --skip-import-validation --skip-tests --allow-warnings
script:
2019-10-27 20:19:12 -07:00
# CocoaPods
- xcodegen generate
2019-10-27 21:16:56 -07:00
- travis_wait 120 pod lib lint
2019-10-27 20:19:12 -07:00
# Carthage
- rm -rf MnemonicKit.xcodeproj
- xcodegen generate
- travis_wait 120 carthage bootstrap --platform iOS --cache-builds
2019-01-08 14:17:53 -08:00
- set -o pipefail && xcodebuild test -scheme MnemonicKit -destination 'platform=iOS
2019-04-24 17:02:47 -07:00
Simulator,name=iPhone XS,OS=12.2' ONLY_ACTIVE_ARCH=YES | xcpretty
after_success:
2019-01-08 14:17:53 -08:00
- slather
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: LR2QILLIc4f3t7Eg9uZWGZp9sBQXN1wdQzzU75ZMqcBNIw+LBNd4CgsSY7YpeJg+Rsh3++CFThvYmOMAayfrv/DKkVP1LpM782++mjOh0k174gNe6thPPTc9NcdzYJj3Ij6Cej6+nMS5CQfs06YWBWbIwV0Yc/JHFJHa+5//Q2ayk+JSKalT3mbIDhPX3gYDoGw9qVLno3XzS5FRwjzf8aENLiTtKXG8WtGeXX3IbXgsZR1xgYwm1HAlDT8cZcL5xvYB02zIGYRIBtSODGlQ0XlSN3LPtKR9McZPOM1hlfkwnCcf9f1g+AmUeHF8Grh88tt2tjZAWK7z2b+XMNL/5MgW6jhRoGa2WUQOq6D6PPS5uJhJja3j8s8oZeKotwhCfgsf+yQXqfGjcf+coOPnvXCV6wHNFHabjXvpG65AJKmxWaLFM9nZfxt89a36BLAG6BcC8thiN40WK2Jid1kjeZ/mer+4vxKl8lHPWr6tLP98KIEeX4PeqYakRJe6j89FxkQb3AbWvqQIgOzxu3HidJayE7UQLH0UvuKmP5RZn3B/vVRXXfqIwn8clexEFXc8j0yfdP7fyypKLyzBpsfFwkkNqD6/JX20Ugq7gPaYDzWHeZe4OgwFo7xbp0x42dTvuoJoMRJJrTjI4remPnqKhpJgmkH1VasnFc8x5ZwU/1E=
file: "$FRAMEWORK_NAME.framework.zip"
2019-01-08 14:22:48 -08:00
skip_cleanup: true
2019-01-08 14:17:53 -08:00
on:
2019-01-08 14:24:40 -08:00
repo: keefertaylor/MnemonicKit
2019-01-08 14:23:37 -08:00
tags: true