From 2f03f18bba0622dfd72b31f44a392cd5ec4496be Mon Sep 17 00:00:00 2001 From: Jared Date: Mon, 25 Mar 2019 18:39:46 +0000 Subject: [PATCH] Test Github Releases from CI --- .travis.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa6841b..091ea81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,26 @@ dist: xenial language: python python: 3.7 +env: + global: + - VERSION=$TRAVIS_TAG + install: - - pip install -r requirements.txt +- pip install -r requirements.txt + script: - - python generate_gmbinder.py +- python generate_gmbinder.py +- tar -zcvf fantasy-plants.tar.gz generated + +before_deploy: + - mv fantasy-plants.tar.gz fantasy-plants-$VERSION.tar.gz + +deploy: + provider: releases + api_key: + secure: XTQQKivr/XLr5UD6WzdXBv0DeeZWbMBeaArSsrMHxMJZhHP+JFPb7603LE19O7oL+ELWGhXyZEZc5EVGYKMlnrHhj/4DJrSvSeI70gnXL8yUKUojoxzDGRC5lLknamknX+Gnxv6+W8pwurkdMK9lsSIA01Ukbsj9NVpy6oiT6ADH2Eoh5zs3ZXAVAWS1aOUhSNHcAerY9ms2iorLu3EWswQMnYy28D62V2UjTnkchRKCRPqw3MD46fdm2uJ44uIcRZ5b+AxadI2TQhnl7xXy6FFpGbeT+OMV8wx/MRoBRA55hglhDH9tHb2A8w4WMz4dZvybgJU5MqjuTeYO+g1capHj6GSj5gOI3pbAgPTHhEnCyXFFX5W8EJBm62l/gv2pNRywm/S28VT9TO+HDW/aVfsCZB8OeRBjvAKCFF//KBLnoRk9BaAF+06jRX2obsJc67bXQuBRp8HWRvMUfCmVQMIE4C0RNnrKKHKUroH19RaAiZFpiZk3c7bw8FnU643li9JS9IZFvah+kxKvAZ3DQz5InR/z5q82lOZ+Gvt4Z9dLOgKQv4iLH30C80a8Or1FYX1gIjQjsIkA2ESjjdak88fVJyyPVNQnGW4bqBbCTgO/Aq5giru0Hi6DhAffDdMmiXb0/Uf+IJ2tfthS2gShNvEHZzYkilW83y5FHWyVpiQ= + file: fantasy-plants-$VERSION.tar.gz + skip_cleanup: true + on: + tags: true