Browse Source

Merge pull request #144 from asmodehn/toxing

Added Tox support (for travis testing)
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.0
Erez Shinan 7 years ago
committed by GitHub
parent
commit
e75eb86028
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 2 deletions
  1. +2
    -2
      .travis.yml
  2. +24
    -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

+ 24
- 0
tox.ini View File

@@ -0,0 +1,24 @@
[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

[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