stages: - test - build pyflakes3: stage: test script: - apt-get update - apt-get -y -qq install python3 pyflakes3 - pyflakes3 *.py image: ubuntu:18.04 #allow_failure: true .compile: stage: build script: - mkdir manaplus - mv Config manaplus - mkdir -p manaplus/Local/updates/updates.tmw2.org - mkdir manaplus/Local/temp - mkdir manaplus/Local/logs - touch manaplus/Local/manaplus.log - touch manaplus/Local/manaplustest.log - echo "Fetching clients..." - wget -t 0 -c "https://updates.tmw2.org/mana/linux/ManaPlus-x86_64.AppImage" -O manaplus/ManaVerse.AppImage - wget -t 0 -c "https://updates.tmw2.org/mana/linux/Mana-x86_64.AppImage" -O manaplus/Mana.AppImage - chmod +x manaplus/*.AppImage - wget -t 0 -c "https://updates.tmw2.org/mana/windows/manaverse.zip" -O manaplus/manaverse.zip # TODO: Unzip manaverse.zip ##################################################### - echo "Fetching updates for - Moubootaur Legends" - mkdir -p manaplus/Local/updates/updates.tmw2.org/ml/local - mkdir -p manaplus/Local/updates/updates.tmw2.org/ml/fix - wget "https://updates.tmw2.org/ml/TMW2.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/TMW2.zip - wget "https://updates.tmw2.org/ml/TMW2-2b90b80.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/TMW2-2b90b80.zip - wget "https://updates.tmw2.org/ml/music.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/music.zip - wget "https://updates.tmw2.org/ml/musicv2.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/musicv2.zip - wget "https://updates.tmw2.org/ml/musicv3.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/musicv3.zip - wget "https://updates.tmw2.org/ml/musicv4.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/musicv4.zip - wget "https://updates.tmw2.org/ml/Bugfix-TMW2.zip" -O manaplus/Local/updates/updates.tmw2.org/ml/Bugfix-TMW2.zip ##################################################### - echo "Fetching updates for - TMW Classic" - mkdir -p manaplus/Local/updates/updates.tmw2.org/legacy/local - mkdir -p manaplus/Local/updates/updates.tmw2.org/legacy/fix - wget "https://updates.tmw2.org/legacy/TMW.zip" -O manaplus/Local/updates/updates.tmw2.org/legacy/TMW.zip - wget "https://updates.tmw2.org/legacy/TMW-music.zip" -O manaplus/Local/updates/updates.tmw2.org/legacy/TMW-music.zip - wget "https://updates.tmw2.org/legacy/TMW-mods.zip" -O manaplus/Local/updates/updates.tmw2.org/legacy/TMW-mods.zip ##################################################### - echo "Fetching updates for - TMW Crossroads" - mkdir -p manaplus/Local/updates/updates.tmw2.org/CR/local - mkdir -p manaplus/Local/updates/updates.tmw2.org/CR/fix - wget "https://updates.tmw2.org/CR/TMW2.zip" -O manaplus/Local/updates/updates.tmw2.org/CR/TMW2.zip ##################################################### # TODO: rEvolt updates, Mana updates # TODO: Zip everything and upload it as Minimal.zip image: ubuntu:18.04 artifacts: paths: - "." expire_in: 2 weeks only: - master sast: stage: test include: - template: Security/SAST.gitlab-ci.yml