Added travis-ci configuration.

This commit is contained in:
Jakub Roztočil 2012-03-04 11:29:55 +01:00
parent 8a4f501706
commit 6d14097844
2 changed files with 15 additions and 1 deletions

10
.travis.yml Normal file
View File

@ -0,0 +1,10 @@
language: python
python:
- 2.6
- 2.7
# TODO: Python 3
#- 3.2
script: python setup.py test
install:
- pip -q install requests pygments argparse

View File

@ -3,7 +3,10 @@ import os
import sys
import json
import requests
from collections import OrderedDict
try:
from collections import OrderedDict
except ImportError:
OrderedDict = dict
from requests.structures import CaseInsensitiveDict
from . import cli
from . import pretty
@ -106,5 +109,6 @@ def main(args=None,
stdout.write(body.encode('utf-8'))
stdout.write('\n')
if __name__ == '__main__':
main()