File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -2,13 +2,19 @@ BUILD_TOOL = xcodebuild
2
2
BUILD_SDK = macosx
3
3
BUILD_ARGUMENTS = -scheme SQLite -sdk $(BUILD_SDK )
4
4
5
+ XCPRETTY := $(shell command -v xcpretty)
6
+
5
7
default : test
6
8
7
9
build :
8
10
$(BUILD_TOOL ) $(BUILD_ARGUMENTS )
9
11
10
12
test :
13
+ ifdef XCPRETTY
14
+ @set -o pipefail && $(BUILD_TOOL) $(BUILD_ARGUMENTS) test | $(XCPRETTY) -c
15
+ else
11
16
$(BUILD_TOOL) $(BUILD_ARGUMENTS) test
17
+ endif
12
18
13
19
clean :
14
20
$(BUILD_TOOL ) $(BUILD_ARGUMENTS ) clean
Original file line number Diff line number Diff line change 1
- # SQLite.swift
1
+ # SQLite.swift [ ![ Build Status ] [ Badge ]] [ Travis ]
2
2
3
3
A type-safe, [ Swift] [ ] -language layer over [ SQLite3] [ ] .
4
4
5
5
[ SQLite.swift] [ ] provides compile-time confidence in SQL statement
6
6
syntax _ and_ intent.
7
7
8
+ [ Badge ] : https://img.shields.io/travis/stephencelis/SQLite.swift/master.svg?style=flat
9
+ [ Travis ] : https://travis-ci.org/stephencelis/SQLite.swift
8
10
[ Swift ] : https://developer.apple.com/swift/
9
11
[ SQLite3 ] : http://www.sqlite.org
10
12
[ SQLite.swift ] : https://github.com/stephencelis/SQLite.swift
You can’t perform that action at this time.
0 commit comments