Skip to content

Commit

Permalink
travis: create .deb package and upload to github
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Oct 23, 2017
1 parent a17b3b9 commit 9ef889f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Expand Up @@ -117,3 +117,19 @@ after_success:
--exclude="debug_helpers" --exclude="example" --exclude="external_example"
--exclude-pattern=".*CMakeFiles.*" --exclude-pattern=".*_test.*";
fi

before_deploy:
- export RELEASE_PKG_FILE=$(ls *.deb)
- echo "Deploying $RELEASE_PKG_FILE to GitHub releases"

deploy:
provider: releases
skip_cleanup: true
api_key:
secure: hBX3pFWNZiDbz4yKnOjhLg3QS9Ubn1XePxSeIt2Btq5GzbomOPDCgpIFijBppliwj9oKc302EMnZSg2QWeAzFKn9UnmIflJ0E4iymYgwWdTJv+bSnYALJEmO8F6gF9FgRlPk8FCtZiECoTsa75w5TrEZKZpFpmzVYRiDu0eo6sEjW7UJPC0A2KSTXLrBCHSIZy/iasbGmuur4brG7NO0QdMOvDXvhsYfkXDRJFMTtTHvLiKJcqiunPfqARzf1H4x4iczRYscKu5Vn8Kmw3NANGkcIDvEj4ooih831EXxACRZw0VgycgNHOKRXKC9pZ4hLQMon+jxpQX+X8k/K5161oEkF/gCVKyFb31Pk/4Uwe81p1GJY2lAC7MDUxA98RKXhdvVYF2Cp44+IbF0YVoWRUtVAhknXRQ3Weg25kyVSu83q2nN2nZq2qGTnpNIbdN56s/F+uaFtipGEh+vmiv8rNUz+Z5MFrY2FQaSvBTFw9K4tNs9uc+VQd1bE7X5wh0yywEqUEw2nzqTB2xR+OubygUASbk2GLNdc254P0lrzCHbNM62Y7sRX06CM7hPlwhELEkVtUXZWJ0KuhQyLvRh3aPJ3Jj30EswTt/FGT1gzSP1FjjHBRZCK4P2D2rwJ5TMn2JrZKfPxmEd3kVmn6h80+gBbKgonGmZspd2SvPEI5g=
file:
- ${RELEASE_PKG_FILE}
condition: ${BUILD_TARGET} = docker_build
on:
repo: dronecore/DroneCore
tags: true

0 comments on commit 9ef889f

Please sign in to comment.