Browse Source

Trying travis support

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Erez Shinan 7 years ago
parent
commit
d43afcf74a
2 changed files with 12 additions and 0 deletions
  1. +11
    -0
      .travis.yml
  2. +1
    -0
      tests/test_parser.py

+ 11
- 0
.travis.yml View File

@@ -0,0 +1,11 @@
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy" # PyPy2 2.5.0
- "pypy3" # Pypy3 2.4.0
script: python -m tests

+ 1
- 0
tests/test_parser.py View File

@@ -429,6 +429,7 @@ def _make_parser_test(LEXER, PARSER):
""")
x = g.parse('aababc')

@unittest.skipIf(LEXER is None, "Known bug with scanless parsing") # TODO
def test_token_not_anon(self):
"""Tests that "a" is matched as A, rather than an anonymous token.



Loading…
Cancel
Save