2015-05-17 15:34:11 +02:00
|
|
|
language: c
|
2019-10-12 20:13:12 +02:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2015-05-17 15:34:11 +02:00
|
|
|
matrix:
|
2019-10-12 20:13:12 +02:00
|
|
|
include:
|
|
|
|
- arch: amd64
|
|
|
|
env: PLATFORM=amd64
|
|
|
|
- arch: amd64
|
|
|
|
env: PLATFORM=i386
|
|
|
|
- arch: arm64
|
|
|
|
env: PLATFORM=arm32v6
|
|
|
|
- arch: arm64
|
|
|
|
env: PLATFORM=arm32v7
|
|
|
|
- arch: arm64
|
|
|
|
env: PLATFORM=arm64v8
|
|
|
|
|
|
|
|
script:
|
|
|
|
- 'docker build . --tag local-$PLATFORM/tmate-build --build-arg PLATFORM=$PLATFORM'
|
|
|
|
# On arch=arm64, some directories are not setup correctly, and 'ruby -S gem
|
|
|
|
# install dpl' required by the release push scripts fails.
|
|
|
|
- 'if [ "$TRAVIS_TAG" ]; then sudo chown -R $USER: /var/lib/gems /usr/local/bin; fi'
|
2019-11-10 21:19:32 +01:00
|
|
|
- 'if [ "$TRAVIS_TAG" ]; then ./build_static_release.sh $TRAVIS_TAG $PLATFORM; fi'
|
2019-10-12 20:13:12 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: T2109tjjOsrVLEpJZK/uxmO0AuDGXYFdN4AAsNTmVwu/W5dcX57Kk2TCgqDuLfD21iGGXP0U/OYHM06IfBDODBWCA9P8ASHYsenS7wIiFnvCEMbfzoAFyBMrXN2kNdM2+ho3aqc0xE2lQKOKDLxpGm5FZrzujscXXzxQjWBU5Hk=
|
|
|
|
skip_cleanup: true
|
|
|
|
overwrite: true
|
|
|
|
file_glob: true
|
2019-11-10 21:19:32 +01:00
|
|
|
file: releases/*.tar.*
|
2019-10-12 20:13:12 +02:00
|
|
|
on:
|
|
|
|
repo: tmate-io/tmate
|
|
|
|
branch: master
|
|
|
|
tags: true
|