mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
New Makefile target test_install_GRDBCipher_CocoaPods
This commit is contained in:
1 parent
1d04376493
commit
1cd211bd89
2 files changed
+28
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user