Skip to content

Commit

Permalink
add dbtype tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tardyp committed Apr 14, 2017
1 parent 8a4e6b2 commit 5e1c33e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .bbtravis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ language: python
# Available Python versions:
python:
- "2.7"

label_mapping:
TWISTED: tw
SQLALCHEMY: sqla
SQLALCHEMY_MIGRATE: sqlam
latest: l
python: py
TESTS: t
DB_TYPE: db
env:
global:
- BUILDBOT_TEST_DB_URL=sqlite://
Expand All @@ -29,9 +36,9 @@ env:
# (by default in other tests in-memory SQLite database is used which is
# recreated for each test).
# Helps to detect issues with incorrect database setup/cleanup in tests.
- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=sqlite:////tmp/test_db.sqlite
- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=sqlite:////tmp/test_db.sqlite DB_TYPE=sqlite
# Configuration that runs tests with real MySQL database (TODO does not work yet with our docker image)
- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=mysql+mysqldb://[email protected]/bbtest
- TWISTED=latest SQLALCHEMY=latest TESTS=trial BUILDBOT_TEST_DB_URL=mysql+mysqldb://[email protected]/bbtest DB_TYPE=mysql

# innodb tests takes 20min probably because of docker aufs.
# travis images provides much faster innodb so we keep these test there until we implement ramfs based
Expand Down

0 comments on commit 5e1c33e

Please sign in to comment.