travis: deploy waf to gh releases
This commit is contained in:
parent
40bbcdf889
commit
315b2cf7de
42
.travis.yml
42
.travis.yml
|
@ -2,19 +2,29 @@ language: python
|
||||||
git:
|
git:
|
||||||
depth: 50
|
depth: 50
|
||||||
submodules: true
|
submodules: true
|
||||||
addons:
|
jobs:
|
||||||
apt:
|
include:
|
||||||
packages:
|
- stage: test
|
||||||
- build-essential
|
addons:
|
||||||
os: linux
|
apt:
|
||||||
dist: xenial
|
packages:
|
||||||
python:
|
- build-essential
|
||||||
- "2.7" # python2 never dies
|
os: linux
|
||||||
- "3.4" # latest version that supports WinXP
|
dist: xenial
|
||||||
- "3.7" # latest stable
|
python:
|
||||||
cache: pip
|
- "2.7" # python2 never dies
|
||||||
env:
|
- "3.4" # latest version that supports WinXP
|
||||||
- TYPE="ext"
|
- "3.8" # latest stable
|
||||||
- TYPE="noext"
|
cache: pip
|
||||||
script:
|
env:
|
||||||
- bash run-tests.sh $TYPE
|
- TYPE="ext"
|
||||||
|
- TYPE="noext"
|
||||||
|
script:
|
||||||
|
- bash run-tests.sh $TYPE
|
||||||
|
- stage: deploy
|
||||||
|
os: linux
|
||||||
|
dist: xenial
|
||||||
|
script:
|
||||||
|
- bash build-waf.sh
|
||||||
|
after_script:
|
||||||
|
- bash scripts/continious-upload.sh waf-ext waf-noext
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
##################################
|
||||||
|
#
|
||||||
|
# GitHub Releases
|
||||||
|
#
|
||||||
|
##################################
|
||||||
|
|
||||||
|
set +x
|
||||||
|
|
||||||
|
# Disabled until GitHub sends prereleases to email
|
||||||
|
|
||||||
|
wget -O upload.sh "https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh"
|
||||||
|
chmod +x upload.sh
|
||||||
|
|
||||||
|
export GITHUB_TOKEN=$GH_TOKEN
|
||||||
|
./upload.sh $*
|
Loading…
Reference in New Issue