This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
forked from prebid/prebid-mobile-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis CI script was changed (prebid#196)
- Loading branch information
1 parent
50ce710
commit 51d9ee0
Showing
6 changed files
with
40 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
language: swift | ||
osx_image: xcode8 | ||
osx_image: xcode10.2 | ||
before_script: "./scripts/add-keys.sh" | ||
after_script: "./scripts/remove-key.sh" | ||
script: | ||
- "./scripts/swiftLint.sh" | ||
- "./scripts/buildPrebidMobile.sh" | ||
- "./scripts/testPrebidMobile.sh" | ||
- "./scripts/swiftLint.sh" | ||
- "./scripts/buildPrebidMobile.sh" | ||
- "./scripts/testPrebidMobile.sh" | ||
- "./scripts/testPrebidDemo.sh" |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
if [ -d "scripts" ]; then | ||
cd scripts/ | ||
fi | ||
|
||
echo "Running integration tests" | ||
cd ../example/Swift/PrebidDemo/ | ||
echo $PWD | ||
gem install cocoapods --pre | ||
pod install --repo-update | ||
xcodebuild -workspace PrebidDemo.xcworkspace test -scheme "PrebidDemoTests" -destination 'platform=iOS Simulator,name=iPhone 8 Plus,OS=12.2' | xcpretty -f `xcpretty-travis-formatter` --color --test | ||
|
||
# Make the keychain the default so identities are found | ||
security default-keychain -s ios-build.keychain | ||
|
||
# Unlock the keychain | ||
security unlock-keychain -p travis ios-build.keychain | ||
|
||
# Set keychain locking timeout to 3600 seconds | ||
security set-keychain-settings -t 3600 -u ios-build.keychain | ||
|
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
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