-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* use ssh connection when cloning the private repo. * use the pr-xx branch name logic with lite-ios-EE and lite-core-EE * include different simulator than the build script uses to avoid any unexpected conflict(which should not but..) * remove all dead references in the project * scheme name corrected * TravisCI upgrade to xcode 11.5 * remove xcpretty, since travis the console is not expanding
- Loading branch information
Showing
5 changed files
with
19 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
language: objective-c | ||
osx_image: xcode11 | ||
osx_image: xcode11.5 | ||
branches: | ||
only: | ||
- master | ||
env: | ||
- SCHEME="CBL ObjC" | ||
- SCHEME="CBL Swift" | ||
- SCHEME="CBL_ObjC" | ||
- SCHEME="CBL_Swift" | ||
before_install: | ||
- brew update | ||
- brew install doxygen | ||
- gem install slather | ||
script: set -o pipefail && xcodebuild test -project CouchbaseLite.xcodeproj -scheme "$SCHEME" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11" -enableCodeCoverage YES | xcpretty -c | ||
script: xcodebuild test -project CouchbaseLite.xcodeproj -scheme "$SCHEME" -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11" -enableCodeCoverage YES | ||
after_success: | ||
- test "$SCHEME" = "CBL ObjC" && slather | ||
- test "$SCHEME" = "CBL_ObjC" && slather |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,16 @@ pipeline { | |
mkdir tmp | ||
mv !(tmp) tmp | ||
# clone and update submodules here | ||
git clone https://github.com/couchbaselabs/couchbase-lite-ios-ee.git --branch $CHANGE_TARGET | ||
# submodule update inside lite-ios | ||
# Sometimes the PR depends on a PR in the EE repo as well. This needs to be convention based, so if there is a branch with the name PR-### | ||
# (with the GH PR number) in the EE repo then use that, otherwise use the name of the target branch (master, release/XXX etc) | ||
# clone the EE-repo | ||
git clone [email protected]:couchbaselabs/couchbase-lite-ios-ee.git --branch $BRANCH_NAME || \ | ||
git clone [email protected]:couchbaselabs/couchbase-lite-ios-ee.git --branch $CHANGE_TARGET | ||
# clone the core-EE | ||
pushd couchbase-lite-ios-ee | ||
git submodule update --init --recursive | ||
git clone [email protected]:couchbase/couchbase-lite-core-EE.git --branch $BRANCH_NAME || \ | ||
git clone [email protected]:couchbase/couchbase-lite-core-EE.git --branch $CHANGE_TARGET | ||
popd | ||
# restructure folders | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters