Skip to content

Commit a1a13f5

Browse files
committed
simplify
1 parent 8ed0616 commit a1a13f5

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

.travis.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,36 @@ jobs:
4949
- stage: deploy
5050
script: grunt package && grunt compress:uploadBuild && echo $TRAVIS_BRANCH && echo $TRAVIS_TAG
5151
before_script: skip
52+
before_deploy: |
53+
function keep_alive() {
54+
while true; do
55+
echo -en "\a"
56+
sleep 5
57+
done
58+
}
59+
keep_alive &
5260
env:
5361
- JOB=deploy
5462
deploy:
55-
- provider: gcs
56-
access_key_id: GOOGLDB7W2J3LFHICF3R
57-
secret_access_key:
58-
secure: tHIFdSq55qkyZf9zT/3+VkhUrTvOTMuswxXU3KyWaBrSieZqG0UnUDyNm+n3lSfX95zEl/+rJAWbfvhVSxZi13ndOtvRF+MdI1cvow2JynP0aDSiPffEvVrZOmihD6mt2SlMfhskr5FTduQ69kZG6DfLcve1PPDaIwnbOv3phb8=
59-
bucket: ng-i-1121e.appspot.com
60-
local-dir: upload
61-
skip_cleanup: true
62-
detect_encoding: true # detects gzip compression and sets the correct metadata in gcs
63-
on:
64-
repo: angular/angular.js
6563
- provider: firebase
6664
skip_cleanup: true
6765
project: google.com:angular-sites
6866
token:
6967
secure: tHIFdSq55qkyZf9zT/3+VkhUrTvOTMuswxXU3KyWaBrSieZqG0UnUDyNm+n3lSfX95zEl/+rJAWbfvhVSxZi13ndOtvRF+MdI1cvow2JynP0aDSiPffEvVrZOmihD6mt2SlMfhskr5FTduQ69kZG6DfLcve1PPDaIwnbOv3phb8=
7068
on:
7169
repo: angular/angular.js
70+
# condition: $TRAVIS_BRANCH = chore-firebase
71+
branch: chore-firebase
72+
# - provider: gcs
73+
# access_key_id: GOOGLDB7W2J3LFHICF3R
74+
# secret_access_key:
75+
# secure: tHIFdSq55qkyZf9zT/3+VkhUrTvOTMuswxXU3KyWaBrSieZqG0UnUDyNm+n3lSfX95zEl/+rJAWbfvhVSxZi13ndOtvRF+MdI1cvow2JynP0aDSiPffEvVrZOmihD6mt2SlMfhskr5FTduQ69kZG6DfLcve1PPDaIwnbOv3phb8=
76+
# bucket: ng-i-1121e.appspot.com
77+
# local-dir: upload
78+
# skip_cleanup: true
79+
# detect_encoding: true # detects gzip compression and sets the correct metadata in gcs
80+
# on:
81+
# repo: angular/angular.js
82+
# branch: chore-firebase
83+
# condition: $TRAVIS_TAG != on_failurese || ($TRAVIS_PR == false && $TRAVIS_BRANCH = master) || $TRAVIS_BRANCH = chore-firebase
7284

0 commit comments

Comments
 (0)