forked from buildbot/buildbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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:// | ||
|
@@ -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 | ||
|