Skip to content

Commit

Permalink
Merge pull request #4 from braincreators/travis-deploy
Browse files Browse the repository at this point in the history
Add travis deploy
  • Loading branch information
sjaek authored Jan 8, 2020
2 parents 102f94c + 32e7403 commit 5839a55
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
.pytest_cache/
*.egg-info
__pycache__/
.coverage
.coverage
/build/
/dist/
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ stages:

cache: pip

deploy:
provider: pypi
username: braincreators
password:
secure: LNomtSmnhSXz8VlVlnM2afB1RO1Q5009zDgxs4/icU5CHr2fIQpaW4AQCHVo3OPlp1PJlbSEL107uRRTCJ0GcDNKxf7xcjJpxpjsSowlI9wDAqP7GDlHNK55zI15O7VLBq5RRW06byv3BIx1hZQC8MfSrMWTEOLpMfCMOgy97ik7wWTRmp/NiquDLfmtovOtH0mADAN4D1h2hRFwuUc2Za/ixbpXouutW6cN6pvMFCraVHcEcDVF7av9tLYH3mNsx4DOGDXZ2/X67FhSFxbDyHCTgYKdh4wGOzo2zxzGdc4j19zKYisNfi7YFU/L4cPNndddJ20fJbcE84XlOIpeJRpKwivv/z6WnbDFgZfl23CPXTSJ5g1M+SuJ1VlOiIExVKiPDVbngLdkut6ZpPAE099NtPb29WfhHyYqD3s47kEuECHdfWsJpd7/pbDOkc/V4hKm/i9IFf618Df+py0mp5e6ZEjBGCbZJ4rl/ootq5h3zUK5dyM/t12rXU2CmPv/MKu73vijnrUKDCKW9x0L8FNUo9QURM+wVB5Sv2vUT+mgD91o81dwLawA71Utsrw7Rtq2NOcRKBwH8zJmi1Xwh/VTHDtT8mMSJOGqca0ywHS5AVqViV67FK6bHC4LgORn+sUA8CQg85QJzO9/AWpxYw0T6wQilZYsCCQ7uevqdqY=
edge: true
on:
tags: true

jobs:
include:
- stage: quality-assurance
python: '3.6'
install: pip install flake8
script: flake8

- stage: quality-assurance
python: '3.6'
before_install:
Expand Down
13 changes: 11 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
from setuptools import setup
from os import path
import os


this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()


requirements = [
Expand All @@ -7,12 +14,14 @@

setup(
name='octconv',
version='0.1.0',
version=os.getenv('TRAVIS_TAG', '0.1.0'),
packages=['octconv'],
url='https://github.com/braincreators/octconv',
license='MIT',
install_requires=requirements,
author='BrainCreators',
author_email='miguel@braincreators.com',
description='Octave Convolution Implementation in PyTorch'
description='Octave Convolution Implementation in PyTorch',
long_description=long_description,
long_description_content_type='text/markdown'
)

0 comments on commit 5839a55

Please sign in to comment.