Skip to content
Snippets Groups Projects
Commit 92c6b1b2 authored by Mateusz Gniewkowski's avatar Mateusz Gniewkowski
Browse files

Merge branch 'adding_tests' into 'master'

Adding tests

See merge request !5
parents c0756ecd 4143cd84
1 merge request!5Adding tests
Pipeline #1129 passed with stages
in 2 minutes and 3 seconds
......@@ -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