diff --git a/.travis.yml b/.travis.yml index 1c9c4a8..bc65de9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,9 @@ env: before_script: - psql -c 'create database bitfield_test;' -U postgres -install: python setup.py develop +install: + - pip install Django==$DJANGO --use-mirrors + - pip install -e . --use-mirrors script: python setup.py test diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..780ba3e --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +test: + python setup.py test \ No newline at end of file diff --git a/setup.py b/setup.py index 51a9041..105c364 100644 --- a/setup.py +++ b/setup.py @@ -18,8 +18,8 @@ 'nose>=1.0', ], tests_require=[ - 'django-nose==0.1.3', - 'psycopg2==2.3', + 'django-nose>=0.1.3', + 'psycopg2>=2.3', ], test_suite='runtests.runtests', include_package_data=True,