From 6b00be47376f936b5d3badd29bc5d8bbbd71cd29 Mon Sep 17 00:00:00 2001 From: Michael Corcoran Date: Sun, 22 Jan 2017 01:37:45 +1300 Subject: [PATCH] Tweak deployment --- .gitignore | 1 + .travis.yml | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 99dd947..4caef6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ debug +deploy release include lib diff --git a/.travis.yml b/.travis.yml index 3b745d6..84c209f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ sudo: false os: - linux - osx -language: c++ +language: cpp install: - git clone https://github.com/saleae/AnalyzerSDK.git sdk - ln -s sdk/include include @@ -10,12 +10,14 @@ install: script: - python build_analyzer.py after_success: -- mkdir deploy && tar cfJ deploy/logic-dshot-${TRAVIS_COMMIT}.tar.xz release/* +- mkdir deploy && cd release && rm -f *.o && tar cfvJ "../deploy/logic-dshot-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.xz" * && cd .. +- ls deploy deploy: provider: releases api_key: secure: OmB8N1pK1f2ASqfxPa33J+d9mZ3MjThnjRCVOVx4DLrtMyDaBXrS7VlnG1YHBk5EDZdOBDCcUD9DbuzyO5Pmj6H7reWNybb904Tic2izLBDOm7jaketwqDEhKhva3ivwas7SdJtgJW547GsFbP59EJVfCSQdxe/94i/FnF9CFk+rugp4Y+6EOR2TR5d8vHU5c3GGZWqxl/ypiS+NEc9NuQ+n3SnSm7NignfGGFYEb9JnLsqPeqzPVZ0IMBP9EHLIFtnFTdH3ou4om/pzm0EVvEdK5PtFaVwxUHC+vcpl8g2HKOI2+joWjilv3nkSIoPSOnvQoK8EzuewOfSapf/oOn+JW5HES06hT4O6cusJS2Z+DE7lzQA0Aap7fbCI8d9TfjIvknoTy8r8oWIMPA768UAhn2PqdvYqXPEJotomgTtQUtlFpNOuEdspzHxN5UEGc8ylRjcLeaPElcD04xTla87nJyk7fJyHRHbxoHpy4j3VFMaXXpRFVe+ttQRGVrlsAau9zaKJAe0KilsrsF9DAZQbngef13O91NQSkJ12mMepzhB193KYoJuQbAIggf7gm1uiUvAIwH9LBPThc2hkElck0Et12Tt23mw1rVAhI+2dBgkLB6ZLGVXwt0l5rq19ipUH7/u6n7SyEVSV+i0op8L7zBI54G0ich+8r2YjP3M= - file: deploy/logic-dshot-${TRAVIS_COMMIT}.tar.xz + file: deploy/logic-dshot-${TRAVIS_OS_NAME}-${TRAVIS_TAG}.tar.xz + skip_cleanup: true on: repo: tracernz/logic-dshot tags: true