diff --git a/.gitignore b/.gitignore index 7751ac6..0f201b5 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,8 @@ __pycache__ .vscode .cache .eggs +build +dist package-lock.json webdriver-report +webdriver_recorder/_version.py diff --git a/.travis.yml b/.travis.yml index 1815b73..d5b890f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: python python: - - "3.6" -node_js: "node" + - '3.6' +node_js: node install: - pip install -U pip setuptools - pip install python-coveralls coverage @@ -9,3 +9,11 @@ install: script: - coverage run --source=. --omit='.eggs/*' setup.py test - coveralls +deploy: + provider: pypi + user: + secure: bT/XoqsIg6qfbeRRWXZOL4dhM2fWRFzYpCgnRAN4anN++NCAcrc400FCD2uFPn8tx//OJw6/lGA4BkocPm/VYifceMmJrs0ldAQ1kyrOAakDnrMwtKr2LqVVyGvXsXFDi8bBHDbuiNZw3BjIxGv6ktwC1XshPs2qhRfMiXWXq8xscuO8fIMDSPPuwWegdSAaRpjsOpTLxkMU2S0sudm2aIEakgu9kCHbqSiL9ysllgnKb5AtBeeJmOMQEs0XEWD78x2O6QcOf7vQoh82aVX+ZNvoraGS7tqKgRTtZPLiKYlPcYsy/pEpWzE9psZqhGMpNDUMMUXebD8WdyeYXh5CNZmdVqW0HnADU5ZE03g2cfjaYMLoe9tyPC4rVUWJB5sYECGEIcs0AkHE3kJJlANfmps7NNGqk94dnbmBdDxDDeljOMofqvPyz27c3E2fF9MYUrRjS5e7ywbvJgyJ1XzaUiWMzm08az0WTM4RYIEZHZhFq9iEbl1fGijSdWlNAuidHUJ9flTfpyxamOW7C0BVuzwuklb/OIzOa0R11jQe8LEj4MvML7qZnsoBH1WmUtvNCPIHzfbGXAEhwCI1mdLbtx/HQh2UGWG7qT9PixrQLLBpW9m0EToR1k9ptNd+tk61gkX28pNqDfhQ98VSUYfeDmL/55nInYL/PA/o9g1u62o= + password: + secure: q07PLUTDsUzCX1IWts8vb4HGBIljmv/taVeSPzQ9OjHbYkSiYAbRfYoZFjybFtuMrk02ThfWMaR2VvbV8veRFDXw8ZAt2ZuJ99XhyX0mDMmEsnX/LRayEY00oBtwxs1hxfgOd3e/8jlSlFsVntykphyWIahGVGx4TUY3ZDpEYTrQhvCIEGws0QxwrNDPY2cdwYQg0Td95shaXh/k7vcIPlbblHqY30a3bKCfvhiBvDtF+6h9QDyFpteoNdFyfvaUtKqXOlyeG+osFN9rkAoPTAQhDDhixdgbtSFKL5/mQ25rUmVUIY1H2lHYUgs0BqV0mZ/tQFxkFvHlkI4Ykg421czhCejK8Rq5q6f44rL0SiMa4fhIwLal9OPQ1xgoMH7g9CcaKcZfhbseU2sr4qUMa6AqrkXLpRWrxvscEWIjHP8YvC0gSM26uGW8YUwDdx42/xtYoW/nYRc/i7sNyc/rzx3LWU4LS4JpfI0Kxi9AVf0dgr2IUbYCuZEAt4uX1UQNwzlRKtFKWZZg7vu0jnr/QvYy/tdAVFEawybUInVM7x0iJphY17GdwfAZ+lfBkz04XRWHIkUIU1/4IZGRmOCFYK0EIXSMdaQKj8YJ4+p2ZD13P25pzVcpYh/yl9Ql0D3bu594EiNc1zPrLJa/iQYxMC08nGcXB/xiV4ElKn0cKvI= + on: + tags: true diff --git a/setup.py b/setup.py index e54cd1f..7a4240c 100644 --- a/setup.py +++ b/setup.py @@ -2,13 +2,13 @@ setup(name='uw-webdriver-recorder', install_requires=['selenium', 'pytest', 'jinja2'], - version='0.5', + use_scm_version={"write_to": "webdriver_recorder/_version.py"}, description=( 'Enhances a selenium webdriver to record screenshots along the way'), packages=['webdriver_recorder'], package_data={'webdriver_recorder': ['report.template.html']}, python_requires='>=3.5', - setup_requires=['pytest-runner'], + setup_requires=['pytest-runner', 'setuptools_scm'], entry_points={'pytest11': [ 'uw-webdriver-recorder = webdriver_recorder.plugin']}, classifiers=["Framework :: Pytest"]