Further split CocoaPods lint tasks

(still hoping that this fixes Travis timeout)
This commit is contained in:
Gwendal Roué committed 2018-08-04 13:24:03 +02:00
1 parent b916bca1f6
commit 06e5dc5dfd
2 files changed
+23 -6

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 GRDB (Xcode 9.4)
script: make test_CocoaPodsLint_GRDB
- TID=CocoaPods Lint GRDB.swift/default (Xcode 9.4)
script: make test_CocoaPodsLint_GRDB_default
# 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 GRDB.swift/3.19.3 (Xcode 9.4)
script: make test_CocoaPodsLint_GRDB_3.19.3
# CocoaPods Lint (Xcode 9.4)
- stage: Test Installation
+12 -4
View File
@@ -93,7 +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_CocoaPodsLint: test_CocoaPodsLint_GRDB_default test_CocoaPodsLint_GRDB_3.19.3 test_CocoaPodsLint_GRDBCipher
test_framework_GRDBOSX:
# SQLITE_ENABLE_FTS5 requires macOS 10.13+
@@ -273,11 +273,19 @@ else
@exit 1
endif
test_CocoaPodsLint_GRDB:
test_CocoaPodsLint_GRDB_default:
ifdef POD
$(POD) lib lint GRDB.swift.podspec --allow-warnings
$(POD) lib lint GRDB.swift.podspec --allow-warnings --subspec=default
else
@echo CocoaPods must be installed for test_CocoaPodsLint_GRDB
@echo CocoaPods must be installed for test_CocoaPodsLint_GRDB_default
@exit 1
endif
test_CocoaPodsLint_GRDB_3.19.3:
ifdef POD
$(POD) lib lint GRDB.swift.podspec --allow-warnings --subspec=3.19.3
else
@echo CocoaPods must be installed for test_CocoaPodsLint_GRDB_3.19.3
@exit 1
endif