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:
|
||||
depth: 50
|
||||
submodules: true
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- build-essential
|
||||
os: linux
|
||||
dist: xenial
|
||||
python:
|
||||
- "2.7" # python2 never dies
|
||||
- "3.4" # latest version that supports WinXP
|
||||
- "3.7" # latest stable
|
||||
cache: pip
|
||||
env:
|
||||
- TYPE="ext"
|
||||
- TYPE="noext"
|
||||
script:
|
||||
- bash run-tests.sh $TYPE
|
||||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- build-essential
|
||||
os: linux
|
||||
dist: xenial
|
||||
python:
|
||||
- "2.7" # python2 never dies
|
||||
- "3.4" # latest version that supports WinXP
|
||||
- "3.8" # latest stable
|
||||
cache: pip
|
||||
env:
|
||||
- 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