From 962235c771712b20bae5b499cb78d6d31120edba Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Thu, 8 Aug 2019 20:22:33 -0400 Subject: [PATCH] Should be more or less final yml file for Travis to get all three builds to work. --- .travis.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9439050..07661c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ matrix: after_success: # find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq # for debugging # curl --upload-file APPNAME*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage + # these next two lines make a continuous integration build of the linux version of SavvyCAN each time a commit is done - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - bash upload.sh SavvyCAN*.AppImage* @@ -35,9 +36,9 @@ matrix: api_key: $GITHUB_TOKEN file_glob: true file: SavvyCAN*.AppImage - on: - branch: WIP - draft: true + on: + tags: true #deploy is only done on tagged builds + draft: false - os: osx osx_image: xcode10 @@ -55,10 +56,10 @@ matrix: provider: releases skip_cleanup: true api_key: $GITHUB_TOKEN - file: Release/SavvyCAN.dmg + file: SavvyCAN.dmg on: - branch: WIP - draft: true + tags: true + draft: false - os: windows before_install: @@ -85,11 +86,10 @@ matrix: api_key: $GITHUB_TOKEN file: SavvyCAN32.zip on: - branch: WIP - draft: true + tags: true + draft: false - branches: - except: - - # Do not build tags that we create when we upload to GitHub Releases - - /^(?i:continuous)/ + only: + - master + - WIP