Navigation Menu

Skip to content

Commit

Permalink
temporarily disable pg tests as they need updated docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tardyp committed Dec 6, 2016
1 parent 69952a1 commit 65b716c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .bbtravis.yml
Expand Up @@ -33,8 +33,8 @@ env:
- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=mysql+mysqldb://travis@127.0.0.1/bbtest?storage_engine=InnoDB
# Configuration that runs tests with real PostgreSQL database with pg8000 and psycopg2 drivers
# psycopg2 uses Peer Authentication which is configured in the dockerfile, while pg8000 use md5 auth with dummy password
- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=postgresql+psycopg2:///bbtest
- TWISTED=latest SQLALCHEMY=latest TESTS=trial 'BUILDBOT_TEST_DB_URL=postgresql+pg8000:///bbtest?user=buildbot&password=x'
#- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=postgresql+psycopg2:///bbtest
#- TWISTED=latest SQLALCHEMY=latest TESTS=trial 'BUILDBOT_TEST_DB_URL=postgresql+pg8000:///bbtest?user=buildbot&password=x'

# Test different versions of SQLAlchemy
- TWISTED=15.5.0 SQLALCHEMY=0.8.0 TESTS=trial
Expand Down Expand Up @@ -115,7 +115,8 @@ before_script:
cmd: |
sudo /etc/init.d/postgresql start
# for pg8000 driver we can't use peer authentication or empty password, so set a dummy password
psql -d bbtest -c 'ALTER USER "buildbot" WITH PASSWORD '"'x'"';'
# This also serves as a way to wait that the database is ready
while ! psql -d bbtest -c 'ALTER USER "buildbot" WITH PASSWORD '"'x'"';' ; do sleep 1 ; done
# Tests running commands
script:
Expand Down

0 comments on commit 65b716c

Please sign in to comment.