Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
Upgrade setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jul 14, 2017
1 parent 698f824 commit 711d3cd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ services:
- postgresql
# command to install dependencies
install:
- pip install setuptools --upgrade
- python setup.py develop
- pip install nose coverage coveralls --use-mirrors
- 'if [[ "$TRAVIS_PYTHON_VERSION" != "pypy" ]]; then pip install psycopg2 --use-mirrors; fi'
- pip install nose coverage coveralls
- 'if [[ "$TRAVIS_PYTHON_VERSION" != "pypy" ]]; then pip install psycopg2; fi'
# command to run tests
before_script:
- psql -c 'create database myapp_test;' -U postgres
script:
- 'if [[ "$TRAVIS_PYTHON_VERSION" != "pypy" ]]; then coverage run `which nosetests`; fi'
- 'if [[ "$TRAVIS_PYTHON_VERSION" == "pypy" ]]; then SQLALCHEMY_DATABASE_URI="sqlite://" coverage run `which nosetests` ; fi'
- 'if [[ "$TRAVIS_PYTHON_VERSION" != "pypy" ]]; then ./runtests.sh; fi'
- 'if [[ "$TRAVIS_PYTHON_VERSION" == "pypy" ]]; then SQLALCHEMY_DATABASE_URI="sqlite://" ./runtests.sh ; fi'
after_success:
- coveralls
notifications:
Expand Down

0 comments on commit 711d3cd

Please sign in to comment.