Skip to content

Commit cf06875

Browse files
committed
Set up empty keys for PR builds on CI
1 parent 484556b commit cf06875

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ cache:
77
- Pods
88
before_install:
99
- export LANG=en_US.UTF-8
10-
- gem install bundler -v 2.0.2
1110
install:
12-
- bundle install --without development --deployment --jobs=3 --retry=3
13-
- bundle exec pod install
11+
- make bootstrap
1412
before_script:
15-
- bundle exec danger
13+
- if [ -n "$DANGER_GITHUB_API_TOKEN" ]; then bundle exec danger; fi
1614
script:
1715
- bundle exec fastlane scan
1816
after_success:

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
bootstrap:
2-
gem install bundler
2+
gem install bundler -v 2.0.2
33
bundle install
44
# pod install
55
bundle exec pod keys set BaseAPIURL "https://polydice.com/iCook-tvOS/demo/"
66
bundle exec pod keys set CrashlyticsAPIKey "-"
77
bundle exec pod keys set TreasureDataAPIKey "-"
88
bundle exec pod install
99
# sh scripts/fabric.sh
10-
echo "fabric.apikey" > keys/fabric.apikey
11-
echo "fabric.buildsecret" > keys/fabric.buildsecret
10+
mkdir -p keys
11+
touch keys/fabric.apikey && echo "fabric.apikey" > keys/fabric.apikey
12+
touch keys/fabric.buildsecret && echo "fabric.buildsecret" > keys/fabric.buildsecret

Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PODS:
77
- HCYoutubeParser (0.0.5)
88
- Hue (2.0.1)
99
- KeenClientTD (3.2.27)
10-
- Keys (1.0.0)
10+
- Keys (1.0.1)
1111
- Kingfisher (3.2.4)
1212
- Nimble (7.0.3)
1313
- Quick (1.2.0)
@@ -45,7 +45,7 @@ SPEC CHECKSUMS:
4545
HCYoutubeParser: bc1db8c062e4b835eda381f2be2f9970f6a8d071
4646
Hue: 354caec055fdc9d38b5ef33ca2e7224721843baf
4747
KeenClientTD: ddb29a702bd4cfce5d526519ca8959d70c324c6a
48-
Keys: 9c35bf00f612ee1d48556f4a4b9b4551e224e90f
48+
Keys: a576f4c9c1c641ca913a959a9c62ed3f215a8de9
4949
Kingfisher: 8d80f39da403cd9c9ee11984e1655f4d6a566cdb
5050
Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac
5151
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08

0 commit comments

Comments
 (0)