StreamingPluginWiiU/.travis.yml

32 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2018-07-13 19:21:24 +02:00
sudo: required
2018-07-03 20:23:12 +02:00
branches:
only:
- master
services:
- docker
2018-07-03 20:23:12 +02:00
addons:
apt:
packages:
- p7zip-full
before_script:
- docker build . -t screenstreamer-builder
2018-07-03 20:23:12 +02:00
script:
- docker run -it --rm -v ${PWD}:/project screenstreamer-builder make
2018-07-03 20:23:12 +02:00
before_deploy:
- cd $TRAVIS_BUILD_DIR/
- mkdir -p "wiiu/plugins"
- commit="$(git rev-parse --short=7 HEAD)"
- find -type f -name "*.mod" | xargs -i cp {} wiiu/plugins
- zip -r screenstreaming_wups_nightly_$commit.zip wiiu
2018-07-03 20:23:12 +02:00
- git config --local user.name "Maschell"
- git config --local user.email "Maschell@gmx.de"
- git tag "ScreenStreaming-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
2018-07-03 20:23:12 +02:00
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: H3sXW8voP9WWwK9PpSD1BXTFmNwss3z6FjX9UVZUOEga7Yu4Na4yUvDtmpEKOxLvFDjAOkS6tyB1UM0Ft9GNi1Qd2cPpSgsJZx5NiYDkiSc7A1UNEbYuMgS+deILnT3qNrTaXMjLeedyMZSTLTt2iThJVP31bwvOTs2nM08PuSrFO8sa0uuLpFyx9uCcznctZsRmSzaTbey/P2rSvTBSOtFHMkfTPLsBndSF1hEn/UUIoOguLUfuq/ovgTr1i6Bm+OMt35oLaaCnSs0JiglUYyXSHP53/14h4CVvQiq69EjHSSrsF46U60j3HA+05eJaxBnr1FZUWfHc/m245G4oSFjvKKCN0hXeRhcLQg1texz1TcI5PIzEgg50UAl6W1LdZVIksGSySojfH/P9FFUkRxtTzzDAgDz/UWNfnx9N9JEZbRsV0hp6goJSnHj/gpu2wxVdYSAVae3NTe7zYT5Le0l0vgpnVhcSVFaZQiy70xb26JPRa0msxFd3BXzYcGV/c+GsxVXoo0yTMpWae4CbWSonkCuNyPTdVQ05+TAP6KjJO9mEWRj+8XuFkRRUELiM7Oe5rHY0nIyQwECbF3yoQP3FDaw+WNhrs+d8ETbZ+uM9UcsCy9h9eGJCgbTU96mVylf9tXCUoVEEUBjXOYgs/joQy83hjCDCS96KVJNLI8g=
file: screenstreaming_wups_nightly_$commit.zip
2018-07-03 20:23:12 +02:00
on:
repo: Maschell/StreamingPluginWiiU