mirror of
https://git.suyu.dev/suyu/AppImageKit-checkrt.git
synced 2025-12-22 05:36:15 +01:00
Create .travis.yml
This commit is contained in:
parent
2ed619f690
commit
5a70aa903f
1 changed files with 22 additions and 0 deletions
22
.travis.yml
Normal file
22
.travis.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
language: c
|
||||||
|
compiler: gcc
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
env:
|
||||||
|
- ARCH=i686 DOCKER_IMAGE=toopher/centos-i386:centos6
|
||||||
|
- ARCH=x86_64 DOCKER_IMAGE=library/centos:6.8
|
||||||
|
|
||||||
|
script:
|
||||||
|
- mkdir -p ./out/
|
||||||
|
- docker run -i -v ${PWD}/out:/out -v "${PWD}:/AppImageKit-checkrt" "$DOCKER_IMAGE" /bin/bash -c "cd /AppImageKit-checkrt ; yum -y install gcc wget make binutils glibc-devel patch ; make"
|
||||||
|
- cp /AppImageKit-checkrt/AppRun_patched out/AppRun-patched-${ARCH} ; ls -lh out/*
|
||||||
|
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||||
|
- bash ./upload.sh out/*
|
||||||
|
|
||||||
|
branches:
|
||||||
|
except:
|
||||||
|
- # Do not build tags that we create when we upload to GitHub Releases
|
||||||
|
- /^(?i:continuous)$/
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue