diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..ca6eb6f96bcb71776f1c78d52518de92469826e2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: python +python: + - "2.7" + - "3.5" +install: pip install tox-travis +script: tox diff --git a/README.rst b/README.rst index 93ebed96ed3373768191ac094055d5ed17adc339..fc3c09d183578fcc39067c579bcc482d7c1a431c 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,9 @@ Trie implementation using nested dictionaries ============================================= +.. image:: https://travis-ci.org/jfjlaros/dict-trie.svg?branch=master + :target: https://travis-ci.org/jfjlaros/dict-trie + This library provides a trie_ implementation using nested dictionaries. Apart from the basic operations, a number of functions for *approximate matching* are implemented. diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000000000000000000000000000000000..d49b6eb15444fb048cecb39baa529302804a71c1 --- /dev/null +++ b/tox.ini @@ -0,0 +1,6 @@ +[tox] +envlist = py27,py35 + +[testenv] +deps = pytest +commands = py.test