1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Skip luacheck for API builds, fix condition

This commit is contained in:
plague006 2019-02-03 12:53:39 -05:00
parent d337332116
commit 7c4f3f9e75

View File

@ -14,7 +14,7 @@ before_install:
install:
- luarocks install luacheck
script:
- "if [[ $TRAVIS_EVENT_TYPE != 'cron' ]]; then luacheck .; fi"
- "if [[ $TRAVIS_EVENT_TYPE != 'cron' ] || [ $TRAVIS_EVENT_TYPE != 'api' ]]; then luacheck .; fi"
before_deploy:
- git config --local user.name "$github_user_name"
- git config --local user.email "$github_user_email"
@ -30,7 +30,7 @@ before_deploy:
- ./.travis/release_builder.sh
deploy:
on:
condition: $TRAVIS_EVENT_TYPE = cron or $TRAVIS_EVENT_TYPE = api
condition: $TRAVIS_EVENT_TYPE = cron
repo: Refactorio/RedMew
branch: develop
provider: releases