File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ install:
136
136
137
137
script :
138
138
- cd src
139
- - travis_wait 45 python -m cibuildwheel --output-dir ../wheelhouse
139
+ - ../run_long.sh python -m cibuildwheel --output-dir ../wheelhouse
140
140
- cd ..
141
141
142
142
deploy :
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ #
3
+ # Inspired by
4
+ # https://github.com/travis-ci/travis-ci/issues/4190#issuecomment-169987525
5
+ #
6
+
7
+ # start command and send to background
8
+ " $@ " &
9
+
10
+ minutes=0 # passed [min]
11
+ limit=50 # limit [min]
12
+
13
+ while kill -0 $! > /dev/null 2>&1
14
+ do
15
+ echo -n -e " \b" # print something and backspace it
16
+
17
+ if [ $minutes >= $limit ]; then
18
+ break ;
19
+ fi
20
+
21
+ minutes=$(( minutes+ 1 ))
22
+
23
+ # next time in a minute
24
+ sleep 60
25
+ done
You can’t perform that action at this time.
0 commit comments