diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-07-29 00:59:48 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-07-31 22:09:59 +0100 |
commit | 04aeda21e0ad2f7e8dd2bad3328e6ce0ba38f6a9 (patch) | |
tree | 3da48edf177826aeaae69447fd1fb001e873c43a /.travis.yml | |
parent | 531f63e5a9e82d86a6ee1f5d44bebee0bc51d828 (diff) |
Support mongo datastores
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 38fa579..c5cd158 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,10 @@ language: go services: - mysql + - mongodb env: - - GO15VENDOREXPERIMENT=1 MYSQL_TEST_CONFIG="mysql:user:passwd:localhost" + - GO15VENDOREXPERIMENT=1 MYSQL_TEST_CONFIG="mysql:user:passwd:localhost" MONGO_TEST_CONFIG="mongo:user:passwd:localhost" go: - 1.5.4 @@ -19,6 +20,7 @@ before_install: before_script: - go run ./cmd/dbinit/dbinit.go -db_user user -db_password passwd + - go run ./cmd/dbinit/dbinit.go -db_type mongo -admin_user '' -db_user user -db_password passwd sudo: false script: |