mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-05 13:32:32 +12:00
14a8e72c7b
7.3 is the oldest image available on TravisCI that works. Older 6.4 version does not play well with Enchant, resulting in a build error. This could probably be averted by trying to build with 6.4 and without Enchant support, but I'm not sure if it's worth it.
25 lines
1.2 KiB
YAML
25 lines
1.2 KiB
YAML
# according to the internet Python envs are hard and it's better to build them from scratch
|
|
language: cpp
|
|
os:
|
|
- osx
|
|
osx_image: xcode7.3
|
|
sudo: required
|
|
install:
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then bash package/prepare_osx.sh; fi
|
|
script:
|
|
- python3 package/dependency_test.py
|
|
before_deploy:
|
|
- export FILENAME=manuskript-$TRAVIS_BRANCH-$TRAVIS_OS_NAME.zip
|
|
- pyinstaller manuskript.spec --clean
|
|
- cd dist && zip $FILENAME -r manuskript && cd ..
|
|
- ls dist
|
|
deploy:
|
|
provider: releases
|
|
api_key:
|
|
secure: lKuWQ9NWkLfDkkAiSnMh2PYkAGE1xh4pkSN5Ceb2IF9ee9i9YrJ9YFcvh420JSP+BYUl1OKczC5b3d9hUUZcfMwUkuZqPFCehOWP0O8dNs3XKZtmSU4POwR8lx7jRSO132qV/zgthBTK8PbeC2jIiMF4+4ESMsuEDptmGSOhgHtOcdJNDNz8gTbygXZVcl4U04se1ywtL62UQcTNMEKKLeBYQlrAXpcPiw4Htv9spEx6BewgarhRvJ/hysqeJgrH4wUVcjFw6Djppu3fmhrvgtaIU3ONxMLqgCuBZa03Q2LuF/RTYl9/DUgIjqsm1aOVooQZttYsUYWrLfyZNnLGD4WkdILcTMyexEVpQ/ejcEPm8gCf2PtklRtENZIxV2eQkLcPuSAPGWC8ue6a1etIUbYDbMT47SsdwkUsbyPpT8bnBvPf7gfmH/e20b1UQtxgmE5GDpbYZCTHf0kvwIFrBQzNmCtiGsXGJxIVx4msndplh8MdWFDBTEr0Ca8Tt45Fp/QPU7KAmdlQog9fWOfnJezIlBpFAXDa+AN2b/9uE+led5fmqQ62nuvjsYvWmJti2NW0IJ8UI26JGfh4Z1offE2bYp4onimfbRXSXWQs+Dm2l4CdTkc3habSWoUMw2R8mGbEfgfhzTFiAryg1mCtWy8AxUgfcUurd6BCwipH1ck=
|
|
file: dist/$FILENAME
|
|
overwrite: true
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|