Skip to content

Commit ac5379d

Browse files
committed
Treat warnings as errors on CI
1 parent fd52ff2 commit ac5379d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cache:
2727
before_install:
2828
- carthage bootstrap --cache-builds --no-use-binaries --platform $PLAT --verbose
2929
install:
30-
- xcodebuild -scheme PMKCoreLocation -quiet -destination "$DST" SWIFT_VERSION=$SWFT build
30+
- xcodebuild -scheme PMKCoreLocation -quiet -destination "$DST" SWIFT_VERSION=$SWFT SWIFT_TREAT_WARNINGS_AS_ERRORS=YES build
3131
script:
3232
- if [ "$PLAT" != "watchOS" ]; then
3333
xcodebuild -scheme PMKCoreLocation -destination "$DST" test;

0 commit comments

Comments
 (0)