Skip to content

Commit

Permalink
Merge pull request #1 from SandroMachado/support/add-travis
Browse files Browse the repository at this point in the history
Add travis
  • Loading branch information
SandroMachado authored Jul 17, 2016
2 parents ab9a2c7 + 3abd0bd commit b46ef09
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: objective-c
osx_image: xcode7.3

script:
- open -b com.apple.iphonesimulator
- xcodebuild clean build test -project BitcoinPaymentURI.xcodeproj -scheme BitcoinPaymentURI -sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
2 changes: 1 addition & 1 deletion BitcoinPaymentURITests/BitcoinPaymentURITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class BitcoinPaymentURITests: XCTestCase {
XCTAssertEqual(bpuri.parameters?["foo"]?.required, false, "Failed: Wrong value.")
XCTAssertEqual(bpuri.parameters?["fiz"]?.value, "biz", "Failed: Wrong value.")
XCTAssertEqual(bpuri.parameters?["fiz"]?.required, true, "Failed: Wrong value.")
XCTAssertEqual(bpuri.uri, "bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?label=Luke-Jr&foo=bar&amount=50.0&message=Donation%20for%20project%20xyz&req-fiz=biz", "Failed: Wrong value.")
XCTAssertEqual(bpuri.uri, "bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?foo=bar&message=Donation%20for%20project%20xyz&req-fiz=biz&label=Luke-Jr&amount=50.0", "Failed: Wrong value.")
}

}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# BitcoinPaymentURISwift

[![Build Status](https://travis-ci.org/SandroMachado/BitcoinPaymentURISwift.svg?branch=master)](https://travis-ci.org/SandroMachado/BitcoinPaymentURISwift)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

BitcoinPaymentURISwift is an open source library to handle the Bitcoin payment URI based on the [BIT 21](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki). The purpose of this library is to provide a simpler way to the developers to integrate in their applications support for this URI Scheme to easily make payments.
Expand Down

0 comments on commit b46ef09

Please sign in to comment.