Skip to content
Permalink
Browse files

combine travis pk3 files

  • Loading branch information...
jackeri committed Nov 3, 2019
1 parent 723928d commit 21cb5075e99d1010c3ef68718ccd8ebd1afba679
Showing with 10 additions and 8 deletions.
  1. +10 −8 .travis.yml
@@ -166,8 +166,10 @@ jobs:
stage: merge-pk3
script:
- mkdir -p build && cd build
- wget --no-verbose --no-parent --cut-dirs 2 -nH --recursive --level=2 --user=${FTP_USER} --password=${FTP_PASSWORD} ${FTP_URL}travis/${TRAVIS_BUILD_NUMBER}/
- ls -la
- wget --no-verbose --passive-ftp --no-parent --cut-dirs 3 -nH --recursive --level=2 --user=${FTP_USER} --password=${FTP_PASSWORD} ${FTP_URL}travis/${TRAVIS_BUILD_NUMBER}/
- find -name 'etl_bin*.pk3' -exec sh -c 'unzip -d combined "$1"' _ {} \;
- zip -r -j $(basename */etl_bin*.pk3) combined
- curl -T "$(basename etl_bin*.pk3)" --ftp-create-dirs --user ${FTP_USER}:${FTP_PASSWORD} ${FTP_URL}travis/${TRAVIS_BUILD_NUMBER}/combined/

# - os: windows
# stage: build
@@ -212,12 +214,12 @@ script:
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./easybuild.sh -64 clean build ;fi'
- 'if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cmd.exe /C "easybuild.bat clean build" ;fi'

after_success:
- chmod +x misc/discord-send.sh
- misc/discord-send.sh success $WEBHOOK_URL
after_failure:
- chmod +x misc/discord-send.sh
- misc/discord-send.sh failure $WEBHOOK_URL
# after_success:
# - chmod +x misc/discord-send.sh
# - misc/discord-send.sh success $WEBHOOK_URL
# after_failure:
# - chmod +x misc/discord-send.sh
# - misc/discord-send.sh failure $WEBHOOK_URL

notifications:
irc:

0 comments on commit 21cb507

Please sign in to comment.
You can’t perform that action at this time.