File tree Expand file tree Collapse file tree 6 files changed +18
-1
lines changed Expand file tree Collapse file tree 6 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ matrix:
12
12
- env : VALIDATOR_SUBSPEC="standard"
13
13
- env : VALIDATOR_SUBSPEC="standalone"
14
14
- env : VALIDATOR_SUBSPEC="SQLCipher"
15
+ - env : CARTHAGE_PLATFORM="iOS"
16
+ - env : CARTHAGE_PLATFORM="Mac"
15
17
- env : PACKAGE_MANAGER_COMMAND="test -Xlinker -lsqlite3"
16
18
before_install :
17
19
- gem update bundler
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ let package = Package(
13
13
dependencies: [
14
14
. Package( url: " https://github.com/jberkel/CSQLite.git " , majorVersion: 0 )
15
15
] ,
16
- exclude: [ " Tests/CocoaPods " ]
16
+ exclude: [ " Tests/CocoaPods " , " Tests/Carthage " ]
17
17
)
Original file line number Diff line number Diff line change
1
+ Carthage /
2
+ Cartfile.resolved
Original file line number Diff line number Diff line change
1
+ github "stephencelis/SQLite.swift" "master"
Original file line number Diff line number Diff line change
1
+ CARTHAGE := /usr/local/bin/carthage
2
+ CARTHAGE_PLATFORM := iOS
3
+ CARTHAGE_CONFIGURATION := Release
4
+ CARTHAGE_DIR := Carthage
5
+ CARTHAGE_ARGS := --no-use-binaries
6
+ CARTHAGE_TOOLCHAIN := com.apple.dt.toolchain.Swift_3_0
7
+ CARTHAGE_CMDLINE := --configuration $(CARTHAGE_CONFIGURATION ) --platform $(CARTHAGE_PLATFORM ) --toolchain $(CARTHAGE_TOOLCHAIN ) $(CARTHAGE_ARGS )
8
+
9
+ test : $(CARTHAGE ) Cartfile
10
+ $< bootstrap $(CARTHAGE_CMDLINE )
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ if [ -n "$BUILD_SCHEME" ]; then
8
8
fi
9
9
elif [ -n " $VALIDATOR_SUBSPEC " ]; then
10
10
cd Tests/CocoaPods && make test
11
+ elif [ -n " $CARTHAGE_PLATFORM " ]; then
12
+ cd Tests/Carthage && make test CARTHAGE_PLATFORM=" $CARTHAGE_PLATFORM "
11
13
elif [ -n " ${PACKAGE_MANAGER_COMMAND} " ]; then
12
14
swift ${PACKAGE_MANAGER_COMMAND}
13
15
fi
You can’t perform that action at this time.
0 commit comments