Split test_CocoaPodsLint Makefile target

... in order to avoid Travis CI timeouts
This commit is contained in:
Gwendal Roué committed 2018-08-04 07:19:06 +02:00
1 parent 4186d2e5c4
commit b916bca1f6
2 files changed
+23 -5

No files matched your search

+11 -2
View File
@@ -134,8 +134,17 @@ jobs:
install:
- gem install cocoapods # Since Travis is not always on latest version
env:
- TID=CocoaPods Lint (Xcode 9.4)
script: make test_CocoaPodsLint
- TID=CocoaPods Lint GRDB (Xcode 9.4)
script: make test_CocoaPodsLint_GRDB
# CocoaPods Lint (Xcode 9.4)
- stage: Test Installation
osx_image: xcode9.4
install:
- gem install cocoapods # Since Travis is not always on latest version
env:
- TID=CocoaPods Lint GRDBCipher (Xcode 9.4)
script: make test_CocoaPodsLint_GRDBCipher
# CocoaPods Install (Xcode 9.4)
- stage: Test Installation
+12 -3
View File
@@ -93,6 +93,7 @@ test_framework_GRDB: test_framework_GRDBOSX test_framework_GRDBWatchOS test_fram
test_framework_GRDBCustom: test_framework_GRDBCustomSQLiteOSX test_framework_GRDBCustomSQLiteiOS
test_framework_GRDBCipher: test_framework_GRDBCipherOSX test_framework_GRDBCipheriOS
test_install: test_install_manual test_install_GRDBCipher test_install_SPM test_install_GRDB_CocoaPods test_install_GRDBFTS5_CocoaPods test_install_GRDBCipher_CocoaPods test_CocoaPodsLint
test_CocoaPodsLint: test_CocoaPodsLint_GRDB test_CocoaPodsLint_GRDBCipher
test_framework_GRDBOSX:
# SQLITE_ENABLE_FTS5 requires macOS 10.13+
@@ -272,11 +273,19 @@ else
@exit 1
endif
test_CocoaPodsLint:
test_CocoaPodsLint_GRDB:
ifdef POD
$(POD) lib lint --allow-warnings
$(POD) lib lint GRDB.swift.podspec --allow-warnings
else
@echo CocoaPods must be installed for test_CocoaPodsLint
@echo CocoaPods must be installed for test_CocoaPodsLint_GRDB
@exit 1
endif
test_CocoaPodsLint_GRDBCipher:
ifdef POD
$(POD) lib lint GRDBCipher.podspec --allow-warnings
else
@echo CocoaPods must be installed for test_CocoaPodsLint_GRDBCipher
@exit 1
endif