mirror of
https://github.com/Maschell/WiiUPluginLoader.git
synced 2024-11-29 03:14:20 +01:00
40 lines
2.0 KiB
YAML
40 lines
2.0 KiB
YAML
|
sudo: required
|
||
|
services:
|
||
|
- docker
|
||
|
addons:
|
||
|
apt:
|
||
|
packages:
|
||
|
- p7zip-full
|
||
|
before_script:
|
||
|
- docker build . -t wups-loader-builder
|
||
|
script:
|
||
|
- docker run -it --rm -v ${PWD}:/project wups-loader-builder make
|
||
|
before_deploy:
|
||
|
- cd $TRAVIS_BUILD_DIR/
|
||
|
- mkdir -p "wiiu/apps/wiiupluginloader"
|
||
|
- commit="$(git rev-parse --short=7 HEAD)"
|
||
|
- chmod +x gitrev.sh
|
||
|
- versiontag="$(./gitrev.sh)"
|
||
|
- docker run -it --rm -v ${PWD}:/project wups-loader-builder make
|
||
|
- cp meta/* wiiu/apps/wiiupluginloader
|
||
|
- cp wiiupluginloader.elf wiiu/apps/wiiupluginloader
|
||
|
- zip -r WiiUPluginLoader_$versiontag.zip wiiu
|
||
|
- git config --global user.email "builds@travis-ci.com"
|
||
|
- git config --global user.name "Travis CI"
|
||
|
- export GIT_TAG=WiiUPluginLoader-$versiontag
|
||
|
- commitLog="$(git log -1 --pretty=%B)"
|
||
|
- commitMessage="$(echo -e "-\n" && echo "WiiUPluginLoader nightly build. Not a stable release. Expect bugs!\n Only use the plugins with the bundled loaded as they may not work on others." && echo -e "\nCommitlog:\n")"
|
||
|
- git tag $GIT_TAG -a -m "$commitMessage" -m "$commitLog"
|
||
|
- git push --quiet https://$GITHUBKEY@github.com/Maschell/WiiUPluginLoader $GIT_TAG > /dev/null 2>&1
|
||
|
|
||
|
deploy:
|
||
|
provider: releases
|
||
|
skip_cleanup: true
|
||
|
prerelease: true
|
||
|
api_key:
|
||
|
secure: X2kG+KU92Z1G4nMNIycVWk1nvKjfmDlyyh0rYIKbpt2JmvBv/fO4v6oPrVVec7Zc3m42VeqFdjrCn0VatBwNkW9TLjGCysvZrUh2BOgA8cIfJvnt54bckbdbt4DgN6H/QAW7pHVjv6eDZLH4IhBIaxSDN60mhAu2Aa7cZdkkBrHeKwks+fztBNvOYqPcOgxWQbLtN2e9LBk+0tt6n64/Z5F37ydTXm5B8LSI5oEPifPWYfycqmEFxKJUIRPr149Iz62nET/aMC9fUOCjjTOS9k/J0NVuhD/433dto60OUXWGKrMSwfz1hP7HIChgEvxWeczSZP2MczcKm+jZgLK7ML7nIwBIMQovNb8qXdLfRY//IbGYTTjA/4efJ/Przpahry2/5JTAtWxVpfkjXNsajSFFxqYpHkNcYK0+lV2la+Gdp3l7ZkjTcAw22RA6Epfr53cYxXY7PapTc/g/Xe9SMI236QoMobDwAYsxU8Oz+LcCx7an1vJp3O59HqQx5YNNfmSSHOx3DY5Vt4Zxc4POx+v7UIJtJXJZWj09j1s/Spn1Lv7gRomxemneSzsNYMgLduQzwCGD9Eo8DDFyvr//nf5GOB5PDqSP1K9GfLlJs04YdT6Giw/p6JRqvQxnVFIP0I0tll6OARyd6+svjf+q6AQYdlUwYqF03ciFZ555QUo=
|
||
|
file: WiiUPluginLoader_$versiontag.zip
|
||
|
on:
|
||
|
repo: Maschell/WiiUPluginLoader
|
||
|
tags: false
|
||
|
all_branches: true
|