From 85106e6ec9faaef71a7e97720886d727df2d9084 Mon Sep 17 00:00:00 2001 From: "J.F.J. Laros" Date: Wed, 20 Jun 2018 17:10:57 +0200 Subject: [PATCH] Travis config. --- .travis.yml | 6 ++++++ README.rst | 3 +++ tox.ini | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 .travis.yml create mode 100644 tox.ini diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ca6eb6f --- /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 93ebed9..fc3c09d 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 0000000..d49b6eb --- /dev/null +++ b/tox.ini @@ -0,0 +1,6 @@ +[tox] +envlist = py27,py35 + +[testenv] +deps = pytest +commands = py.test -- GitLab