Skip to content

WIP: Deploy OSX package from Travis-CI

mazmazz requested to merge travis-deployer into master

Automatically deploy Travis-CI builds using FTP. Support is completed for OSX.

See Cross-platform deployment for parameter documentation.

By default, if you merged this into master, Deployer would be inactive and the buildbots operate as normal.

By setting DEPLOYER_ENABLED and _DEPLOYER_JOB_ENABLED environment variables in Travis-CI, that starts the magic to build installation packages and upload them. There are various filters to only operate on certain branches or individual workers, as well as an optional trigger word to search in the commit message.

Changes:

  • Minor .travis.yml cleanup
  • New travis/deployer_*.sh scripts
  • Changed asset file downloading to unzip the 7-zip archive first, then fall back on individual downloads if they were not in the archive. Also compare timestamps and only download if the file is newer vs. cache
  • CMake fixes to customize the asset files and properly support Mac install packaging

Debian/PPA support will be a more drastic change, so I'll put this up for now.

Edited by mazmazz

Merge request reports