From 69f435d075f5bc067ae1d437bc4aeab1824761a6 Mon Sep 17 00:00:00 2001 From: Justsnoopy30 Date: Sat, 25 Apr 2020 23:29:17 -0500 Subject: [PATCH] Travis Deploy: Use macos vm with gnu tar. --- .travis.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c1fef2..b81a91d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,6 @@ jobs: - mkdir osx-out - cp -R out/* osx-out/ - PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" - - tar() { tar $1 $2 $3 $4 --strip-components=1; } workspaces: create: @@ -78,8 +77,13 @@ jobs: - ./linux-out/make/zip/linux/x64/HyperChat-linux-x64-1.0.0.zip - stage: Deploy - os: linux - dist: bionic + os: osx + osx_image: xcode11.3 + + addons: + homebrew: + packages: + - gnu-tar workspaces: use: @@ -88,7 +92,8 @@ jobs: - linux-out install: skip - script: skip + script: + - PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" before_deploy: - echo "$TRAVIS_BUILD_NUMBER" "$TRAVIS_COMMIT"