Skip to content

Commit 4f0196b

Browse files
authored
Delete unused travis code (#5696)
1 parent fd79679 commit 4f0196b

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,13 @@ jobs:
6262
osx_image: xcode10.3
6363
env:
6464
- PROJECT=InstanceID METHOD=pod-lib-lint
65-
- FIR_IID_INTEGRATION_TESTS_REQUIRED=$(if [[ "$TRAVIS_PULL_REQUEST" == "false" || "$TRAVIS_PULL_REQUEST_SLUG" == "$TRAVIS_REPO_SLUG" ]]; then echo "1"; else echo "0"; fi)
66-
before_install:
67-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
6865
script:
6966
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseInstanceID.podspec --platforms=ios
7067

7168
- stage: test
7269
osx_image: xcode10.3
7370
env:
7471
- PROJECT=Database PLATFORM=all METHOD=xcodebuild
75-
before_install:
76-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
7772
script:
7873
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseDatabase.podspec --skip-tests --platforms=ios
7974

scripts/install_prereqs.sh

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,6 @@
2323

2424
set -euo pipefail
2525

26-
# Set up secrets for integration tests and metrics collection. This does not work for pull
27-
# requests from forks. See
28-
# https://docs.travis-ci.com/user/pull-requests#pull-requests-and-security-restrictions
29-
function install_secrets() {
30-
if [[ -n "${encrypted_de2056405dcb_key:-}" && $secrets_installed != true ]]; then
31-
secrets_installed=true
32-
openssl aes-256-cbc -K $encrypted_de2056405dcb_key -iv $encrypted_de2056405dcb_iv \
33-
-in scripts/travis-encrypted/Secrets.tar.enc \
34-
-out scripts/travis-encrypted/Secrets.tar -d
35-
36-
tar xvf scripts/travis-encrypted/Secrets.tar
37-
38-
cp Secrets/Storage/App/GoogleService-Info.plist FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist
39-
40-
# Firebase Installations
41-
fis_resources_dir=FirebaseInstallations/Source/Tests/Resources/
42-
mkdir -p "$fis_resources_dir"
43-
cp Secrets/Installations/GoogleService-Info.plist "$fis_resources_dir"
44-
45-
# FirebaseInstanceID
46-
iid_resources_dir=Example/InstanceID/Resources/
47-
mkdir -p "$iid_resources_dir"
48-
cp Secrets/Installations/GoogleService-Info.plist "$iid_resources_dir"
49-
fi
50-
}
51-
5226
# apt_install program package
5327
#
5428
# Installs the given package if the given command is missing
@@ -65,8 +39,6 @@ function install_xcpretty() {
6539
fi
6640
}
6741

68-
secrets_installed=false
69-
7042
# Default values, if not supplied on the command line or environment
7143
platform="iOS"
7244
method="xcodebuild"
@@ -95,11 +67,6 @@ if [[ "$method" != "cmake" ]]; then
9567
scripts/setup_bundler.sh
9668
fi
9769

98-
if [[ ! -z "${QUICKSTART:-}" ]]; then
99-
install_secrets
100-
scripts/setup_quickstart.sh "$QUICKSTART"
101-
fi
102-
10370
case "$project-$platform-$method" in
10471

10572
FirebasePod-iOS-*)
@@ -127,15 +94,6 @@ case "$project-$platform-$method" in
12794
Storage-*)
12895
;;
12996

130-
Installations-*)
131-
install_secrets
132-
;;
133-
134-
# There is purposefully not a dash to include InstanceIDCron.
135-
InstanceID*)
136-
install_secrets
137-
;;
138-
13997
InAppMessaging-*-xcodebuild)
14098
install_xcpretty
14199
bundle exec pod install --project-directory=FirebaseInAppMessaging/Tests/Integration/DefaultUITestApp --no-repo-update

0 commit comments

Comments
 (0)