Skip to content

Commit

Permalink
Prepare Pypi deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LuqueDaniel committed Oct 15, 2019
1 parent eab432b commit bd8ba97
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
28 changes: 19 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
sudo: false
cache: pip

language: python

python:
- "3.6"
- "3.7"
- '3.6'
- '3.7'

# command to install dependencies
install:
- pip install pipenv
- pipenv install . --dev
- pip install pipenv
- pipenv install . --dev

# command to run tests
script:
- pytest tests/lnmc_test.py -vvs
- pylint lnmc.py
- pytest tests/lnmc_test.py -vvs
- pylint lnmc.py

deploy:
provider: pypi
username: LuqueDaniel
password:
secure: JhTkC+wAuY4aiWhHrlk+2+HxYrBhvnhYDK5zYeSw3uOIP9TtCS8h9FhGoeMRT/e8RNsdYVMH4FE7GWFaZbAWUimhxd08RiOuVqLVkIFC/ZGXOP1eGo/TzHVwUdpb/OVT6v7nMjet8/mASMIj1YOkKoVrLBQKgWrTCt0uMUYeeoHDM7XGrViD2dBRHxyu3/cIF2cbP7i0zk0KS8l6NhSQ8sU4KNx8pavhFySNy6uz4SGr2hJ63DixIbLsUJ/d6/fPDY2ySbkoG38gLVF3DeWxCxNcfhBiFL8V8CUF/Yf1NZ5C1SClwRd0PhKn1CKIfulZCBdtg+rFhhpdKQo+q86O3HH54xmyBmMyK5tL2baGP9QU5svVpta/cIYKWNjtEJE9mxItovS71J1QY1EcSTFHl8vfRNL5H+69c5mGG4MX9SnB6eCgUPkX+XWFzAbT/kxS9YHy0EQERFonAtWFMIoLrlguRdceP/kqpiXq4sJRIavJ6nbx0jqtRR62EIsr8Bz1aRQFF9Cjt6Mw/REmXcqrHUBB1H33gPsb6pSsZyS7Cfp2hMIBppaBiENlTbOtTYWkUhU66LzxfUT3ZCiqxAjkTp66S8CeaM8sYwitvcJrWhAcgJ0AeeLBNRa4mRS5Q0buTdoaRI4LVy+UmuJ7qPIqad2nBaBed46e0JMxmOW9D44=
edge: true
skip_existing: true
distributions: sdist bdist_wheel
on:
tags: true
branch: master
python: 3.6
4 changes: 3 additions & 1 deletion lnmc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# © 2019 Daniel Luque
# License AGPLv3 (http://www.gnu.org/licenses/agpl-3.0-standalone.html)
"""lnmc
Allows to create symbolic link in batches from a YAML file and consolidate
Expand All @@ -10,7 +12,7 @@
import yaml


cli.core._verify_python3_env = lambda: None
cli.core._verify_python3_env = lambda: None # pylint: disable=W0212


def yaml_read(yaml_file: str) -> dict:
Expand Down

0 comments on commit bd8ba97

Please sign in to comment.