Skip to content

Commit df9962b

Browse files
committed
Add preliminary travis support.
1 parent 7ddaa41 commit df9962b

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.coveragerc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[run]
2+
source =
3+
ometa
4+
parsley.py
5+
examples/parsley_json.py
6+
examples/protocol/netstrings.py
7+
omit =
8+
ometa/_generated/*
9+
*test*.py

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: python
2+
python:
3+
- "2.6"
4+
- "2.7"
5+
6+
install:
7+
- "pip install pytest Twisted python-coveralls --use-mirrors"
8+
script:
9+
- "coverage run $(which trial) ometa"
10+
- "coverage run -a $(which trial) test_parsley"
11+
- "coverage run -a $(which py.test) examples"
12+
after_success:
13+
- "coveralls"

0 commit comments

Comments
 (0)