comictagger/.travis.yml

42 lines
1.6 KiB
YAML
Raw Normal View History

2019-09-28 08:01:05 -07:00
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
2019-09-24 15:30:23 -07:00
install:
2019-09-28 08:01:05 -07:00
- $PIP install --upgrade setuptools
- $PIP install -r requirements.txt
2019-09-24 15:30:23 -07:00
script:
2019-09-28 08:01:05 -07:00
- $MAKE dist
2019-09-24 15:30:23 -07:00
deploy:
2019-09-24 16:55:03 -07:00
name: $TRAVIS_TAG
2019-09-28 08:01:05 -07:00
body: Released ComicTagger $TRAVIS_TAG
2019-09-24 15:30:23 -07:00
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
2019-09-28 08:01:05 -07:00
file: dist/*.zip
2019-09-24 15:30:23 -07:00
draft: true
2019-09-28 08:01:05 -07:00
on:
tags: true