Skip to content

Commit

Permalink
Tweak deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tracernz committed Jan 21, 2017
1 parent af8dbec commit 6b00be4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
debug
deploy
release
include
lib
Expand Down
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@ sudo: false
os:
- linux
- osx
language: c++
language: cpp
install:
- git clone https://github.com/saleae/AnalyzerSDK.git sdk
- ln -s sdk/include include
- ln -s sdk/lib lib
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

0 comments on commit 6b00be4

Please sign in to comment.