diff --git a/.travis.yml b/.travis.yml index fea4f0416..c2933f724 100644 --- a/.travis.yml +++ b/.travis.yml @@ -146,6 +146,15 @@ jobs: - TID=`CocoaPods GRDB (Xcode 9.4) script: make test_install_GRDB_CocoaPods + # CocoaPods Install (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 GRDBCipher (Xcode 9.4) + script: make test_install_GRDBCipher_CocoaPods + # SPM Install (Xcode 9.4) - stage: Test Installation osx_image: xcode9.4 diff --git a/Makefile b/Makefile index 2fcd24016..7780e6bfb 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ test_framework_darwin: test_framework_GRDB test_framework_GRDBCustom test_framew test_framework_GRDB: test_framework_GRDBOSX test_framework_GRDBWatchOS test_framework_GRDBiOS 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_CocoaPodsLint +test_install: test_install_manual test_install_GRDBCipher test_install_SPM test_install_GRDB_CocoaPods test_install_GRDBCipher_CocoaPods test_CocoaPodsLint test_framework_GRDBOSX: $(XCODEBUILD) \ @@ -232,6 +232,24 @@ else @exit 1 endif +test_install_GRDBCipher_CocoaPods: +ifdef POD + cd Tests/CocoaPods/GRDBCipherMacOS && \ + rm -rf GRDBCipherMacOS.xcworkspace && \ + rm -rf Pods && \ + rm -rf Podfile.lock && \ + $(POD) install && \ + $(XCODEBUILD) \ + -workspace GRDBCipherMacOS.xcworkspace \ + -scheme GRDBCipherMacOS \ + -configuration Release \ + clean build \ + $(XCPRETTY) +else + @echo CocoaPods must be installed for test_install_GRDBCipher_CocoaPods + @exit 1 +endif + test_CocoaPodsLint: ifdef POD $(POD) lib lint --allow-warnings