52 lines
2.6 KiB
YAML
52 lines
2.6 KiB
YAML
language: python
|
|
branches:
|
|
only:
|
|
- develop
|
|
- /^\d+\.\d+\.\d+.*$/
|
|
env:
|
|
global:
|
|
- PYTHON=python
|
|
- PIP=pip
|
|
- SETUPTOOLS_SCM_PRETEND_VERSION=$TRAVIS_TAG
|
|
- MAKE=make
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
- os: osx
|
|
language: generic
|
|
osx_image: xcode8.3
|
|
env: PYTHON=python3 PIP=pip3 MACOSX_DEPLOYMENT_TARGET=10.11
|
|
- os: windows
|
|
language: bash
|
|
env: PATH=/C/Python37:/C/Python37/Scripts:$PATH MAKE=mingw32-make
|
|
before_install:
|
|
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install -y python mingw zip; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew upgrade python3 ; fi
|
|
install:
|
|
- $PIP install --upgrade setuptools
|
|
- $PIP install -r requirements.txt
|
|
script:
|
|
- if [ "$TRAVIS_OS_NAME" != "linux" ]; then $MAKE dist ; fi
|
|
|
|
deploy:
|
|
- name: "$TRAVIS_TAG"
|
|
body: Released ComicTagger $TRAVIS_TAG
|
|
provider: releases
|
|
skip_cleanup: true
|
|
api_key:
|
|
secure: RgohcOJOfLhXXT12bMWaLwOqhe+ClSCYXjYuUJuWK4/E1fdd1xu1ebdQU+MI/R8cZ0Efz3sr2n3NkO/Aa8gN68xEfuF7RVRMm64P9oPrfZgGdsD6H43rU/6kN8bgaDRmCYpLTfXaJ+/gq0x1QDkhWJuceF2BYEGGvL0BvS/TUsLyjVxs8ujTplLyguXHNEv4/7Yz7SBNZZmUHjBuq/y+l8ds3ra9rSgAVAN1tMXoFKJPv+SNNkpTo5WUNMPzBnN041F1rzqHwYDLog2V7Krp9JkXzheRFdAr51/tJBYzEd8AtYVdYvaIvoO6A4PiTZ7MpsmcZZPAWqLQU00UTm/PhT/LVR+7+f8lOBG07RgNNHB+edjDRz3TAuqyuZl9wURWTZKTPuO49TkZMz7Wm0DRNZHvBm1IXLeSG7Tll2YL1+WpZNZg+Dhro2J1QD3vxDXafhMdTCB4z0q5aKpG93IT0p6oXOO0oEGOPZYbA2c5R3SXWSyqd1E1gdhbVjIZr59h++TEf1zz07tvWHqPuAF/Ly/j+dIcY2wj0EzRWaSASWgUpTnMljAkHtWhqDw4GXGDRkRUWRJl1d0/JyVqCeIdRzDQNl8/q7BcO3F1zqr1PgnYdz0lfwWxL1/ekw2vHOJE/GOdkyvX0aJrnaOV338mjJbfGHYv4ESc9ow1kdtIbiU=
|
|
file_glob: true
|
|
file: dist/*.zip
|
|
draft: true
|
|
on:
|
|
tags: true
|
|
condition: $TRAVIS_OS_NAME != "linux"
|
|
- provider: pypi
|
|
user: __token__
|
|
password:
|
|
secure: h+y5WkE8igf864dnsbGPFvOBkyPkuBYtnDRt+EgxHd71EZnV2YP7ns2Cx12su/SVVDdZCBlmHVtkhl6Jmqy+0rTkSYx+3mlBOqyl8Cj5+BlP/dP7Bdmhs2uLZk2YYL1avbC0A6eoNJFtCkjurnB/jCGE433rvMECWJ5x2HsQTKchCmDAEdAZbRBJrzLFsrIC+6NXW1IJZjd+OojbhLSyVar2Jr32foh6huTcBu/x278V1+zIC/Rwy3W67+3c4aZxYrI47FoYFza0jjFfr3EoSkKYUSByMTIvhWaqB2gIsF0T160jgDd8Lcgej+86ACEuG0v01VE7xoougqlOaJ94eAmapeM7oQXzekSwSAxcK3JQSfgWk/AvPhp07T4pQ8vCZmky6yqvVp1EzfKarTeub1rOnv+qo1znKLrBtOoq6t8pOAeczDdIDs51XT/hxaijpMRCM8vHxN4Kqnc4DY+3KcF7UFyH1ifQJHQe71tLBsM/GnAcJM5/3ykFVGvRJ716p4aa6IoGsdNk6bqlysNh7nURDl+bfm+CDXRkO2jkFwUFNqPHW7JwY6ZFx+b5SM3TzC3obJhfMS7OC37fo2geISOTR0xVie6NvpN6TjNAxFTfDxWJI7yH3Al2w43B3uYDd97WeiN+B+HVWtdaER87IVSRbRqFrRub+V+xrozT0y0=
|
|
skip_existing: true
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|
|
condition: $TRAVIS_OS_NAME = "linux" |