Skip to content
Snippets Groups Projects
Commit 913510b7 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

update circle to run an additional container using MySQL as a backing store.

parent b1de8da3
Branches
Tags
No related merge requests found
......@@ -16,13 +16,14 @@ database:
- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u ubuntu mysql
test:
override:
# 0) runs unit tests w/ H2 local DB. Runs against Mongo, H2, Postgres
# 0) runs unit tests w/ H2 local DB. Runs against H2, Mongo
# 1) runs unit tests w/ Postgres local DB. Runs against H2, MySQL
# 2) runs Eastwood linter
# 3) Bikeshed linter
# 2) runs unit tests w/ MySQL local DB. Runs against H2, Postgres
# 3) runs Eastwood linter
# 4) Bikeshed linter
# 4) runs JS linter + JS test
# 5) runs lein uberjar. (We don't run bin/build because we're not really concerned about `npm install` (etc) in this test, which runs elsewhere)
- case $CIRCLE_NODE_INDEX in 0) MB_TEST_DATASETS=h2,mongo,postgres lein test ;; 1) MB_TEST_DATASETS=h2,mysql MB_DB_TYPE=postgres MB_DB_DBNAME=circle_test MB_DB_PORT=5432 MB_DB_USER=ubuntu MB_DB_HOST=localhost lein test ;; 2) lein eastwood ;; 3) lein bikeshed --max-line-length 240 ;; 4) npm install && npm run lint && npm run build && npm run test ;; 5) lein uberjar ;; esac:
# 6) runs lein uberjar. (We don't run bin/build because we're not really concerned about `npm install` (etc) in this test, which runs elsewhere)
- case $CIRCLE_NODE_INDEX in 0) MB_TEST_DATASETS=h2,mongo lein test ;; 1) MB_TEST_DATASETS=h2,mysql MB_DB_TYPE=postgres MB_DB_DBNAME=circle_test MB_DB_PORT=5432 MB_DB_USER=ubuntu MB_DB_HOST=localhost lein test ;; 2) MB_TEST_DATASETS=h2,postgres MB_DB_TYPE=mysql MB_DB_DBNAME=circle_test MB_DB_PORT=3306 MB_DB_USER=ubuntu MB_DB_HOST=localhost lein test ;; 3) lein eastwood ;; 4) lein bikeshed --max-line-length 240 ;; 5) npm install && npm run lint && npm run build && npm run test ;; 6) lein uberjar ;; esac:
parallel: true
deployment:
master:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment