forked from wireservice/csvkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
22 lines (22 loc) · 795 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sudo: false
language: python
cache: pip
python:
- "2.7"
- "pypy"
- "3.3"
- "3.4"
- "3.5"
install:
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install psycopg2 -r requirements-py2.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == "pypy" ]]; then pip install psycopg2cffi -r requirements-py2.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install psycopg2 -r requirements-py3.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then pip install psycopg2 -r requirements-py3.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.5" ]]; then pip install psycopg2 -r requirements-py3.txt; fi
- pip install coveralls
before_script:
- psql -U postgres -c 'CREATE DATABASE dummy_test'
script:
- nosetests --with-coverage --cover-package=csvkit
after_success:
coveralls