2018-12-26 03:30:48 +02:00
|
|
|
language: python
|
|
|
|
sudo: false
|
|
|
|
env:
|
2019-01-27 08:27:57 +02:00
|
|
|
matrix:
|
|
|
|
- LUA="lua=5.2"
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- develop
|
2018-12-26 03:30:48 +02:00
|
|
|
before_install:
|
|
|
|
- pip install hererocks
|
2019-01-27 08:27:57 +02:00
|
|
|
- hererocks ~/build/lua_install -r^ --$LUA
|
|
|
|
- export PATH=$PATH:~/build/lua_install/bin
|
2018-12-26 03:30:48 +02:00
|
|
|
install:
|
|
|
|
- luarocks install luacheck
|
|
|
|
script:
|
2019-02-03 20:18:33 +02:00
|
|
|
- "if [[ $TRAVIS_EVENT_TYPE != 'cron' && $TRAVIS_EVENT_TYPE != 'api' ]]; then luacheck .; fi"
|
2019-01-27 08:27:57 +02:00
|
|
|
before_deploy:
|
2019-03-02 22:59:28 +02:00
|
|
|
- ./.travis/check_locale.sh
|
2019-01-27 08:27:57 +02:00
|
|
|
- git config --local user.name "$github_user_name"
|
|
|
|
- git config --local user.email "$github_user_email"
|
|
|
|
- DATE_FORMATTED=$(date +'%Y-%m-%d')
|
|
|
|
- export DATE_FORMATTED
|
|
|
|
- COMMIT_SHA=$(git log --format=%h -1)
|
|
|
|
- export COMMIT_SHA
|
2020-07-31 16:37:35 +02:00
|
|
|
- TRAVIS_TAG="monthly/"$DATE_FORMATTED-$COMMIT_SHA
|
2019-01-27 08:27:57 +02:00
|
|
|
- export TRAVIS_TAG
|
|
|
|
- git tag "$TRAVIS_TAG"
|
2020-07-31 16:37:35 +02:00
|
|
|
- RELEASE_NAME='Monthly release - '"$DATE_FORMATTED"' - '"$COMMIT_SHA"
|
2019-01-27 08:27:57 +02:00
|
|
|
- export RELEASE_NAME
|
|
|
|
- ./.travis/release_builder.sh
|
|
|
|
deploy:
|
|
|
|
on:
|
2019-02-03 20:18:33 +02:00
|
|
|
condition: $TRAVIS_EVENT_TYPE = cron || $TRAVIS_EVENT_TYPE = api
|
2019-01-27 08:27:57 +02:00
|
|
|
repo: Refactorio/RedMew
|
|
|
|
branch: develop
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: SZsTjOLenetur34FEDCOrOw1jCI0xoZ0KyCrsrBpieQ0+P0hlVgRjEhyg74IiKC5cX5+HS329jUiIs7dUts2mGF09gCdYTPtKtkjmbhZK61DkMSplUIUDJDv5lCsR9BQTSX0x38+olkCTZAgFnU6T449auwd4Htsw6NOKI1V0h33K5YX4QJeMwnFQUorQ5lIl9+aEz/PVKHV0Glqnfp52O/Tn2nqfZxBI48UXRkJJIJLfVi74gPpD0HjspSYoCig3u6j9Rq2HcML+/geyJeM0aL6vZUsZhADIBT2x2MSZtN5KGRby+HEGnyj1u8Bp7BNpbioXtVZ3e57hrqTIbNzMx/8p4rqip9lm7ClP6uPTlgMfHKsnFYKOWiyuMGeFtJxcb/3KzMt4wXxZQQAkoJ4BnsYcm0G7H3EkAMbIF0piOwp2Fn8MCrmUSJcb+dOEe2ixe8p00vi9ffnvBr4Qz+nyqQU6D1aq3DNafmQn2eshuqrhB6+s86uj/3F9fFaPD+GhjL9t7zGgkX/RuLDPxdM7Xo7lc6yUhrFGA2yrkROqPq4M7bCmMcegRyvl27mGsh1R6FTwAEShHa7CU5/8bnnSxsp1YIdHoMWhCBEeFrm3lz6w+gly+iAxjkc0lzREjf/nYmjWSqB1TXUMbssg/G0czCgmTYlq9G7QhhPaWd0D2I=
|
|
|
|
file:
|
|
|
|
- RedMew.zip
|
2019-02-01 03:36:08 +02:00
|
|
|
- Diggy.zip
|
|
|
|
- Crashsite.zip
|
|
|
|
- Tetris.zip
|
2019-02-01 18:03:02 +02:00
|
|
|
- Beach.zip
|
|
|
|
- Danger_Ores.zip
|
|
|
|
- Grid_Islands_Rotated.zip
|
|
|
|
- Toxic_Danger_Ore_Jungle.zip
|
|
|
|
- Hub_Spiral.zip
|
|
|
|
- Bacon_Islands.zip
|
|
|
|
- Triangle_of_Death.zip
|
2019-01-27 08:27:57 +02:00
|
|
|
skip_cleanup: true
|
2019-02-01 03:57:13 +02:00
|
|
|
prerelease: true
|
2019-01-27 08:27:57 +02:00
|
|
|
name: "$RELEASE_NAME"
|