File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ deploy:
4747 local_dir : release-upload
4848 on :
4949 tags : true
50+ # TODO: The gcs provider fails to install on arm64.
51+ condition : $TRAVIS_CPU_ARCH = amd64
5052
5153cache :
5254 timeout : 600
Original file line number Diff line number Diff line change @@ -5,9 +5,22 @@ set -euo pipefail
55main () {
66 cd " $( dirname " $0 " ) /../.."
77
8+ # This, strangely enough, fixes the arm build being terminated for not having
9+ # output on Travis. It's as if output is buffered and only displayed once a
10+ # certain amount is collected. Five seconds didn't work but one second seems
11+ # to generate enough output to make it work.
12+ local pid
13+ while true ; do
14+ echo ' Still running...'
15+ sleep 1
16+ done &
17+ pid=$!
18+
819 docker build ci/image
920 imageTag=" $( docker build -q ci/image) "
1021 docker run -t --rm -e CI -e GITHUB_TOKEN -e TRAVIS_TAG -v " $( yarn cache dir) :/usr/local/share/.cache/yarn/v6" -v " $PWD :/repo" -w /repo " $imageTag " " $* "
22+
23+ kill $pid
1124}
1225
1326main " $@ "
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function package() {
1717 fi
1818
1919 local arch
20- arch=" $( uname -m) "
20+ arch=$( uname -m | sed ' s/aarch/arm/ ' )
2121
2222 echo -n " Creating release..."
2323
You can’t perform that action at this time.
0 commit comments