Skip to content

Commit

Permalink
Actually fixed .travis.yml
Browse files Browse the repository at this point in the history
Thanks to p3lim for providing me with this solution!
  • Loading branch information
rdw-software committed Oct 17, 2017
1 parent 6ee74c0 commit 512ce9b
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,10 @@ install:

script: /home/travis/.luarocks/bin/luacheck . --no-color -quiet -only "011"

after_script:
file_type=
if [ -n "$tag" ]; then
if [[ "${tag,,}" == *"alpha"* ]]; then
file_type=alpha
elif [[ "${tag,,}" == *"beta"* ]]; then
file_type=beta
else
file_type=release
fi
else
echo "Found no tag, exiting."
exit 0
fi
/curl -s [url]https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh[/url] | bash
after_script:
- curl -sO https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh
- curl -s https://gist.githubusercontent.com/p3lim/d77edf45f2c6e29b6f2dc23140028a45/raw/8974b8b8856dc33d658402b2a88bf888da46c259/release.patch | git apply -v
- bash release.sh

notifications:
email:
Expand All @@ -39,7 +28,7 @@ cache:
apt: true
directories:
- $HOME/.luarocks

branches:
only:
- ^r\d+(-(alpha|beta))?(-\d+)?$
- /^r\d+(-(alpha|beta))?(-\d+)?$/

0 comments on commit 512ce9b

Please sign in to comment.