8000 Merge pull request #1973 from tannewt/travis_deploy_keep_alive · losingrose/circuitpython@f77abbd · GitHub
[go: up one dir, main page]

Skip to content

Commit f77abbd

Browse files
authored
Merge pull request adafruit#1973 from tannewt/travis_deploy_keep_alive
Add keep alive to Travis deploy
2 parents ecf2442 + 6785e02 commit f77abbd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ addons:
3333
- $(ls -d1 bin/*/*/* | tr "\n" ":")
3434
target_paths: /
3535

36+
# Some deploy jobs take over 10 minutes so use this keep alive hack to make sure Travis doesn't kill us.
37+
before_deploy: |
38+
function keep_alive() {
39+
while true; do
40+
echo -en "\a"
41+
sleep 5
42+
done
43+
}
44+
keep_alive &
45+
3646
deploy:
3747
provider: releases
3848
api_key:

0 commit comments

Comments
 (0)
0