Skip to content

Commit 8bf692b

Browse files
committed
Update carthage; use correct git sha to test
1 parent 0b29b26 commit 8bf692b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ matrix:
1818
before_install:
1919
- gem update bundler
2020
- gem install xcpretty --no-document
21+
- brew update
22+
- brew outdated carthage || brew upgrade carthage
2123
script:
2224
- ./run-tests.sh

Tests/Carthage/Cartfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

Tests/Carthage/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ CARTHAGE_DIR := Carthage
55
CARTHAGE_ARGS := --no-use-binaries
66
CARTHAGE_TOOLCHAIN := com.apple.dt.toolchain.Swift_3_0
77
CARTHAGE_CMDLINE := --configuration $(CARTHAGE_CONFIGURATION) --platform $(CARTHAGE_PLATFORM) --toolchain $(CARTHAGE_TOOLCHAIN) $(CARTHAGE_ARGS)
8+
TRAVIS_COMMIT ?= master
9+
TRAVIS_REPO_SLUG ?= stephencelis/SQLite.swift
810

911
test: $(CARTHAGE) Cartfile
1012
$< bootstrap $(CARTHAGE_CMDLINE)
13+
14+
Cartfile:
15+
echo 'github "$(TRAVIS_REPO_SLUG)" "$(TRAVIS_COMMIT)"' > $@

0 commit comments

Comments
 (0)