From 005b1ef34a153922780b1fd22fa9b373f502a20c Mon Sep 17 00:00:00 2001 From: James Benton Date: Fri, 15 Jun 2018 09:23:11 +0100 Subject: [PATCH] travis: Maybe this will work... maybe... pls, send help --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 56aeef4..33100aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,10 @@ matrix: - os: linux sudo: required dist: trusty + env: DEPLOY_FILE=wut.linux64.7z - os: osx osx_image: xcode9.3 + env: DEPLOY_FILE=wut.macos.7z addons: apt: @@ -55,8 +57,7 @@ script: - cd ../../ # Create deploy zips - cd $WUT_ROOT - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 7z a ~/wut.linux64.zip .; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 7z a ~/wut.macos.zip .; fi + - 7z a $DEPLOY_FILE . deploy: provider: releases @@ -64,7 +65,7 @@ deploy: api_key: secure: gH3xndfXg4xCXUaqYvGecr9mzLXMMPOZfpqhnwuTIVnlAcR3jKeJ/3jlLs2Rm+GL1Mhby6f1YmtlhRX+G+OzDnp67m3kZaPsdZxqdn7SnBrVFEAbyv92wVullZB5O4mi7hYz5kAqFl0nzzfv7x5O1UtAqM3btFQAM4hiLDo2yqxsGCZsAsOlGCrwt6602hz0qnJ7PeOFAsxygdhdCmF+oWSzXVt0CZ1QfCZQzflZNO0M/CbYRtEcRE3iiHSWo6GRvMkTPw5o5Xca4cyuf1E86Aaym/ccwjKbrEIj77tImiH5iGhF7urXnjk2AxmpXHcDHSdB1WFLHdkbE7tdyhc11ahBJeOcof/LN3t/+HVqwjpse17kBBemc0y4pHyxSRZFoERQaP2mEvUMS1dVQXVdHm0RT3IKk7QBlRw0WTJX7sE836dhRenO03WyFgDRxNC6AT7DZsyN2UDEbOPFosBboiU73I3r8gvQtOKpMuDji6RPqUTUgEsB5HHXK1HLyijTAVbZPErNX97ucl6LdQ/uxmd/xgbZFc0jBUKa50H1/UN9LDlbw4Lf51Frl4rxg6DdZtDVx+6FTNaALm1iwAnVa7lhCDoH5Z+KVKJjKY1xW8P+OtTVFs1ZR/hkwblgc72hDShRyWkycYQTYgHwnRHL3OOObXDT6hZzggE5NwZJ8wg= file_glob: true - file: "~/wut.*.zip" + file: $WUT_ROOT/$DEPLOY_FILE on: repo: decaf-emu/wut tags: true