fix travis + change parsing of true/false

This commit is contained in:
Marcell Vazquez-Chanlatte 2018-09-08 00:34:20 -07:00
parent 98824c9ba1
commit a72a1a1665
3 changed files with 5 additions and 5 deletions

View file

@ -2,6 +2,6 @@ language: python
python: python:
- "3.6" - "3.6"
install: "pip install -r requirements.txt" install: "pip install -r requirements.txt"
script: pytest --flake8 --cov=stl -x --cov-report=html script: pytest --flake8 --cov=mtl -x --cov-report=html
after_success: after_success:
- codecov - codecov

View file

@ -38,10 +38,10 @@ interval = "[" __ const_or_unbound __ "," __ const_or_unbound __ "]"
const_or_unbound = const / "inf" / id const_or_unbound = const / "inf" / id
AP = ~r"[a-z\d]+" AP = ~r"[a-z][a-z\d]*"
bot = "0" bot = "False"
top = "1" top = "True"
id = ~r"[a-z\d]+" id = ~r"[a-z\d]+"
const = ~r"[-+]?(\d*\.\d+|\d+)" const = ~r"[-+]?(\d*\.\d+|\d+)"

View file

@ -4,7 +4,7 @@ setup(
name='metric-temporal-logic', name='metric-temporal-logic',
version='0.2', version='0.2',
description='TODO', description='TODO',
url='http://github.com/mvcisback/py-mtl', url='http://github.com/mvcisback/py-metric-temporal-logic',
author='Marcell Vazquez-Chanlatte', author='Marcell Vazquez-Chanlatte',
author_email='marcell.vc@eecs.berkeley.edu', author_email='marcell.vc@eecs.berkeley.edu',
license='MIT', license='MIT',