2017-06-14 23:26:52 +02:00
|
|
|
#!/bin/bash
|
2017-03-25 08:40:25 +08:00
|
|
|
|
2018-02-14 19:01:35 +01:00
|
|
|
# If FIREBASE_ACCESS_TOKEN not set yet, export the FIREBASE_ACCESS_TOKEN using the JWT token that
|
|
|
|
|
# Travis generated and exported for SAUCE_ACCESS_KEY.
|
2017-06-14 23:26:52 +02:00
|
|
|
# This is a workaround for travis-ci/travis-ci#7223
|
|
|
|
|
# WARNING: FIREBASE_ACCESS_TOKEN should NOT be printed
|
|
|
|
|
export FIREBASE_ACCESS_TOKEN=${FIREBASE_ACCESS_TOKEN:-$SAUCE_ACCESS_KEY}
|
2017-03-25 08:40:25 +08:00
|
|
|
|
2018-02-14 19:01:35 +01:00
|
|
|
# - we overwrite the value set by Travis JWT addon here to work around travis-ci/travis-ci#7223
|
|
|
|
|
# for FIREBASE_ACCESS_TOKEN
|
2017-06-14 23:26:52 +02:00
|
|
|
export SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
|