Skip to content
Snippets Groups Projects
Commit 4143cd84 authored by Leszek Szymczak's avatar Leszek Szymczak Committed by Mateusz Gniewkowski
Browse files

Adding tests

parent c0756ecd
No related merge requests found
......@@ -9,6 +9,7 @@ cache:
stages:
- check_style
- tests
- push_wheel
pep8:
......@@ -21,6 +22,14 @@ docstyle:
script:
- tox -v -e docstyle
test:
stage: tests
before_script:
- apt-get install -y language-pack-pl-base
- dpkg-reconfigure locales
script:
- python setup.py test
push_wheel:
before_script:
- pip install twine
......@@ -34,4 +43,3 @@ push_wheel:
--repository-url https://pypi.clarin-pl.eu/
-u $PIPY_USER -p $PIPY_PASS dist/plwn_api*.whl
"""Implementation of download method."""
import configparser
import os
import xml.etree.ElementTree as ET
import re
import requests
from six.moves.urllib.request import urlopen
from six.moves import configparser
config = configparser.ConfigParser()
......
......@@ -8,7 +8,7 @@ import os
ENVNAME_DIST_NODEFAULT = 'PLWN_API_DIST_NO_DEFAULT_STORAGE'
setup_args = dict(
name='PLWN_API',
name='plwn_api',
version='0.24',
license='LGPL-3.0+',
description='Python API to access plWordNet lexicon',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment