StreamingPluginWiiU/.travis.yml

32 lines
1.5 KiB
YAML

sudo: required
branches:
only:
- master
services:
- docker
addons:
apt:
packages:
- p7zip-full
before_script:
- docker build . -t screenstreamer-builder
script:
- docker run -it --rm -v ${PWD}:/project screenstreamer-builder make
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
- 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)"
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
on:
repo: Maschell/StreamingPluginWiiU