Skip to content

Commit 3f08767

Browse files
committed
Restore Travis
Finally ;) Xcode 6.3 support: http://blog.travis-ci.com/2015-05-26-xcode-63-beta-general-availability/ Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent 9dd0446 commit 3f08767

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: objective-c
2+
env:
3+
- BUILD_SDK=iphonesimulator ONLY_ACTIVE_ARCH=NO
4+
- BUILD_SDK=macosx
5+
before_install:
6+
- gem install xcpretty --no-document
7+
script:
8+
- make test
9+
osx_image: beta-xcode6.3

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@ BUILD_TOOL = xcodebuild
22
BUILD_SDK = macosx
33
BUILD_ARGUMENTS = -scheme SQLite -sdk $(BUILD_SDK)
44

5+
XCPRETTY := $(shell command -v xcpretty)
6+
57
default: test
68

79
build:
810
$(BUILD_TOOL) $(BUILD_ARGUMENTS)
911

1012
test:
13+
ifdef XCPRETTY
14+
@set -o pipefail && $(BUILD_TOOL) $(BUILD_ARGUMENTS) test | $(XCPRETTY) -c
15+
else
1116
$(BUILD_TOOL) $(BUILD_ARGUMENTS) test
17+
endif
1218

1319
clean:
1420
$(BUILD_TOOL) $(BUILD_ARGUMENTS) clean

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# SQLite.swift
1+
# SQLite.swift [![Build Status][Badge]][Travis]
22

33
A type-safe, [Swift][]-language layer over [SQLite3][].
44

55
[SQLite.swift][] provides compile-time confidence in SQL statement
66
syntax _and_ intent.
77

8+
[Badge]: https://img.shields.io/travis/stephencelis/SQLite.swift/master.svg?style=flat
9+
[Travis]: https://travis-ci.org/stephencelis/SQLite.swift
810
[Swift]: https://developer.apple.com/swift/
911
[SQLite3]: http://www.sqlite.org
1012
[SQLite.swift]: https://github.com/stephencelis/SQLite.swift

0 commit comments

Comments
 (0)