Browse Source

toxing for easy multiversion tests

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.0
AlexV 7 years ago
parent
commit
ab2ef6d86e
2 changed files with 32 additions and 2 deletions
  1. +2
    -2
      .travis.yml
  2. +30
    -0
      tox.ini

+ 2
- 2
.travis.yml View File

@@ -6,6 +6,6 @@ python:
- "3.6"
- "pypy" # PyPy2 5.8.0
- "pypy3" # Pypy3 5.8.0-beta0
install: pip install tox-travis
script:
- pip install -r nearley-requirements.txt
- python -m tests
- tox

+ 30
- 0
tox.ini View File

@@ -0,0 +1,30 @@
[tox]
envlist = py27, py34, py35, py36, pypy, pypy3
skip_missing_interpreters=true

[travis]
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36
pypy = pypy
pypy3 = pypy3

# Note : We can depend on travis matrix if needed
;[travis:env]
;DJANGO =
; 1.7: django17
; 1.8: django18, docs

[testenv]
whitelist_externals = git
deps =
-rnearley-requirements.txt

# to always force recreation and avoid unexpected side effects
recreate=True

commands=
git submodule sync -q
git submodule update --init
python -m tests

Loading…
Cancel
Save