Skip to content

Commit

Permalink
Merge branch 'master' into feature/20-badges
Browse files Browse the repository at this point in the history
  • Loading branch information
d0c-s4vage committed Sep 21, 2019
2 parents 491bdb2 + 78e95bc commit 1d4aa41
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
language: python
python:
- "2.6"
- "2.7"
install:
- export VERSION=$(sed 's/^v//' <<<"${TRAVIS_TAG:-0.0.0+$(sed 's^[/_-]^.^g' <<<$TRAVIS_BRANCH)}")
- find . -type f -exec sed -i "s/{{VERSION}}/${VERSION}/g" {} \;
- pip install .
script: bin/run_tests.sh

deploy:
provider: pypi
password:
secure: "Hr1z7+8Viu5dm7bVQ8vn8hpHOlPRgNyGd54AQJRlPAgyfbovXW2JgsU/fihyAbwV6tSSRk3mLX75uPGWDBCFuYMVVXyCzs0hp29I0HLwnv6kV4parBUiefpDfAXNghTl27g8rlDY+N1I1yS+RpYT4EIVBZ3Qc/vi+rdCGVN1deQ3BuCyEvgS5JCKL2L5bOBgafxp9AYbDVdoPrwg8AMNXHc/gWaEqh+PJsF4uq+c2knxkGXXsy9Q6yjP1Y4amtYvPDL+OV0m5RjtHf8P5CdisMJWBH9FC/xBVtLNX/L1yoBJAixh2rgpBjFKKaO7VVeIcf7/yFeYnFh6L74QXk2ZWIQ6TPYb2atsgZdEgE+I6jmITQ57325oaUNP8q4141QJjJkeziwkmtGRpgryg/N5DdLAShtMTe039Af5ZrKAEdd+/pV0qHico2mj+neErTTi/n2FAfW12wUbcoFISOkSeP7kwkBwKiKJBzlijq5xnHNoJcZppml0sXFfPUatZawV9B3VQ8WPn3HY8jgejF8vGTZ4dtVE3atjtfysHoEb2b+jnnSeg7tVf8ohxOA2lfjeQsEtZpLV80tT36yPfMXMrfJm5BejFgnJMXhN5w49fjcCmGjlVcgNRiQjE5y1nv7ylMgMzigGibuE0JxUkqSP9RhLI4dS2WvXKDK6WSWLdUY="
skip_cleanup: true
skip_existing: true
user: d0c.s4vage
on:
tags: true
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = u'1.2.1'
version = u'{{VERSION}}'
# The full version, including alpha/beta/rc tags.
release = u'1.2.1'
release = u'{{VERSION}}'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion gramfuzz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import gramfuzz.utils as utils


__version__ = "1.2.1"
__version__ = "{{VERSION}}"


class GramFuzzer(object):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
* and more!
""",
license = 'MIT',
version = '1.2.1',
version = "{{VERSION}}",
author = 'James \'d0c_s4vage\' Johnson',
maintainer = 'James \'d0c_s4vage\' Johnson',
author_email = 'd0c.s4vage@gmail.com',
url = 'https://github.com/d0c-s4vage/gramfuzz',
platforms = 'Cross Platform',
download_url = "https://github.com/d0c-s4vage/gramfuzz/tarball/v1.2.1",
download_url = "https://github.com/d0c-s4vage/gramfuzz/tarball/v{{VERSION}}",

# NO REQUIREMENTS!!
#install_requires = open(os.path.join(os.path.dirname(__file__), "requirements.txt")).read().split("\n"),
Expand Down

0 comments on commit 1d4aa41

Please sign in to comment.