diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-12-25 17:49:58 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-12-25 18:37:26 +0100 |
| commit | 874705db429de5cc23a20c5e5cb85287c163f037 (patch) | |
| tree | 6cf764929896966c2f4f3072d6ea7369da77eb29 /scripts/travis_test.sh | |
| parent | b73115ac41559c31fc3a2a3fdb0893046c08d1a5 (diff) | |
| download | psycopg2-874705db429de5cc23a20c5e5cb85287c163f037.tar.gz | |
Configure Travis to test replication
Diffstat (limited to 'scripts/travis_test.sh')
| -rwxr-xr-x | scripts/travis_test.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/travis_test.sh b/scripts/travis_test.sh index df9413a..1578308 100755 --- a/scripts/travis_test.sh +++ b/scripts/travis_test.sh @@ -14,11 +14,13 @@ run_test () { export PSYCOPG2_TESTDB=$dbname export PSYCOPG2_TESTDB_PORT=$port export PSYCOPG2_TESTDB_USER=travis - make check + export PSYCOPG2_TEST_REPL_DSN= + + python -c "from psycopg2 import tests; tests.unittest.main(defaultTest='tests.test_suite')" --verbose printf "\n\nRunning tests against PostgreSQL $version (green mode)\n\n" export PSYCOPG2_TEST_GREEN=1 - make check + python -c "from psycopg2 import tests; tests.unittest.main(defaultTest='tests.test_suite')" --verbose } run_test 9.6 54396 |
