Skip to content

Commit d7f37cc

Browse files
check that carthage build succeeds from travis
1 parent f8e9ab3 commit d7f37cc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ script:
5858
- make test-plugin
5959
- make test-echo
6060
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make xcodebuild; fi
61+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 30 make build-carthage; fi

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ test-plugin:
4040
xcodebuild: project
4141
xcodebuild -project SwiftGRPC.xcodeproj -configuration "Debug" -parallelizeTargets -target SwiftGRPC -target Echo -target Simple -target protoc-gen-swiftgrpc build
4242

43+
build-carthage:
44+
carthage build --no-skip-current
45+
4346
clean:
4447
rm -rf Packages
4548
rm -rf .build build

0 commit comments

Comments
 (0)