From 06e5dc5dfdccae11abf8c66895b73488f2fb6cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 4 Aug 2018 13:24:03 +0200 Subject: [PATCH] Further split CocoaPods lint tasks (still hoping that this fixes Travis timeout) --- .travis.yml | 13 +++++++++++-- Makefile | 16 ++++++++++++---- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e2a760a47..987f40e25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index 52623cc63..3192e0a07 100644 --- a/Makefile +++ b/Makefile @@ -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