Skip to content

Commit

Permalink
Use Travis for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
janten committed Sep 5, 2019
1 parent d0ba8e5 commit 6108861
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
language: python
os:
- linux
- linux
dist: trusty
sudo: false
python:
- "3.6"
- '3.6'
install:
- python3 setup.py install
- python3 setup.py install
script:
- dptrp1 -h
- dptrp1 -h
deploy:
provider: pypi
on:
tags: true
user: jan-gerd.tenberge
password:
secure: ryfSuJmt7cwh+EvRVeVUqJAMU/YTujvcYA4FJKZSM3nBFV7hlKDr3M7u/+sgc52Wba6rOvV63GOg+soPi6zDqWSRw0gGEcA8S0VpvYZLGETLUkbQHW+WwJq/VrRzVAAKHi3B8Vgpyq0+fmjdLYLjFDA9/O+oBNyzWM22gCBM5a4GKW1K9KnfG4bdmpL2iCnt0w+4NlOy8IHH3qYRdQ0R4mB/hxO+EW8EmryiyNOM7oBn5K1bki/zMZGnl3iT8gJCbjuwVuo/NiDedUHbpmCzefKuVM2Z9+1YT0MlNKrtyF/Ia3BDbAN1YcEVxquY74cBWS9y10Mrxvy1i55mL5FSU226uG3CEFf+7K5OYtYNKn8rO6j4tJGcZlU7WRRKaHmxOy0+Fi2eTZfb6jTAR8sheWJDRkgTBc2MevyPvxWfY0aFv1W9BXwICXCxlJ1MXk1yMdaLesNaiHegtNzFQ+WhehVww5p8uyzeDQlLa7ZkwZugwpKydveV0H0NNIBMDsiOxtbqA9vC1zWsGgkRCCz+ylYpnKmZAKY6L2L+WU9PxHRchvmJa3bETL8+PWWArByv1+XwsI78m1WQmFd86x7avsvuGm82I24NpGLm1gketdYRJi72vMI/AvGYKHpsPVzRNelLYux8RJBsYLWR0mwDYUJmKCJhqIme9j0j/WpUl6I=
8 changes: 4 additions & 4 deletions setup.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "dpt-rp1-py",
"version": "0.1.0",
"description": "Python package to manage a Sony DPT-RP1",
"license": "MIT",
"authors": [
"Jan-Gerd Tenberge",
"Cuihtlauac Alvarado",
"Juan Grigera"
"Juan Grigera"
],
"emails": [
"jan-gerd.tenberge@uni-muenster.de",
"cuihtlauac.alvarado@orange.com",
"juan@grigera.com.ar"
"juan@grigera.com.ar"
],
"namespace_packages": [

],
"packages": [
"dptrp1"
Expand All @@ -36,4 +36,4 @@
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3"
]
}
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def run_tests(self):

setuptools.setup(
name=SETUP_JSON['name'],
version=SETUP_JSON['version'],
version=os.environ['TRAVIS_TAG'].replace("v", ""),
author=", ".join(SETUP_JSON['authors']),
author_email=", ".join(SETUP_JSON['emails']),
description=SETUP_JSON['description'],
Expand Down

0 comments on commit 6108861

Please sign in to comment.