Skip to content

Commit

Permalink
Added Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeaz committed May 29, 2013
1 parent d1d6559 commit ea655a3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
install:
- "pip install . --use-mirrors"
script: "cd test && python testlex.py && python testyacc.py"
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Version 3.5
---------------------
05/29/13: beazley
Added support for Travis-CI. Contributed by Kenn Knowles.

05/29/13: beazley
Added a .gitignore file. Suggested by Kenn Knowles.

Expand Down
3 changes: 2 additions & 1 deletion example/ansic/cparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,8 @@ def p_error(t):
import profile
# Build the grammar

yacc.yacc(method='LALR',write_tables=False,debug=True)
yacc.yacc()
#yacc.yacc(method='LALR',write_tables=False,debug=True)

#profile.run("yacc.yacc(method='LALR')")

Expand Down
4 changes: 2 additions & 2 deletions test/README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This directory mostly contains tests for various types of error
conditions. To run:

$ python testlex.py .
$ python testyacc.py .
$ python testlex.py
$ python testyacc.py

The script 'cleanup.sh' cleans up this directory to its original state.

0 comments on commit ea655a3

Please sign in to comment.