Skip to content

Commit

Permalink
fix travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
keefertaylor committed Nov 3, 2019
1 parent c23ea41 commit 5a801bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ before_install:
jobs:
include:
- stage: Build - Swift Package Manager
script:
script:
- swift test
- stage: Build - CocoaPods
script:
Expand All @@ -23,23 +23,26 @@ jobs:
script:
- brew outdated carthage || brew upgrade carthage
- brew install xcodegen
- gem install slather
- gem install slather
- xcodegen generate
- travis_wait 500 carthage bootstrap --platform iOS --no-use-binaries --verbose
- set -o pipefail && xcodebuild test -scheme Base58Swift_iOS -destination 'platform=iOS Simulator,name=iPhone XS,OS=12.2' ONLY_ACTIVE_ARCH=YES | xcpretty
- slather
- bash <(curl -s https://codecov.io/bash)
- stage: Release - CocoaPods
script:
- echo "Building CocoaPods Release If Tag is Present"
- echo "Building CocoaPods Release If Tag is Present"
before_deploy:
- pod trunk push --skip-import-validation --skip-tests --allow-warnings
- stage: Release - Carthage
script:
- echo "Building Carthage Release If Tag is Present"
before_deploy:
- carthage build --no-skip-current --platform iOS --cache-builds
- carthage archive $FRAMEWORK_NAME
- brew outdated carthage || brew upgrade carthage
- brew install xcodegen
- xcodegen generate
- carthage build --no-skip-current --platform iOS,mac --cache-builds
- carthage archive $FRAMEWORK_NAME
deploy:
provider: releases
api_key:
Expand All @@ -49,4 +52,3 @@ jobs:
on:
repo: keefertaylor/Base58Swift
tags: true

Binary file added Base58Swift.framework.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let package = Package(
products: [
.library(
name: "Base58Swift",
targets: ["Base58Swift"]),
targets: ["Base58Swift"])
],
dependencies: [
.package(url: "https://github.com/attaswift/BigInt.git", from: "3.1.0")
Expand All @@ -19,6 +19,6 @@ let package = Package(
.testTarget(
name: "base58swiftTests",
dependencies: ["Base58Swift"],
path: "Base58SwiftTests"),
path: "Base58SwiftTests")
]
)

0 comments on commit 5a801bb

Please sign in to comment.