diff options
author | =Corey Hulen <corey@hulen.com> | 2015-06-25 16:42:40 -0400 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-06-25 16:42:40 -0400 |
commit | bc88328aeb71cc09391fe88ebb7ff6aac56bbb97 (patch) | |
tree | c01e99a8cc05f32b3a3b007356e46ba4226c0025 | |
parent | e5586142a5ead833064f33da3c7f167446deeb37 (diff) | |
download | chat-bc88328aeb71cc09391fe88ebb7ff6aac56bbb97.tar.gz chat-bc88328aeb71cc09391fe88ebb7ff6aac56bbb97.tar.bz2 chat-bc88328aeb71cc09391fe88ebb7ff6aac56bbb97.zip |
adding api unit tests
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | config/config.json | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a97e568f6..03a106f58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,8 @@ before_script: - mysql -e "GRANT ALL ON mattermost_test.* TO 'mmuser'@'%' ;" -uroot services: - - redis-server
\ No newline at end of file + - redis-server + +addons: + hosts: + - 127.0.0.1 dockerhost
\ No newline at end of file @@ -26,6 +26,7 @@ travis: @mkdir -p logs + @go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=180s ./api || exit 1 @go test $(GOFLAGS) -run=$(TESTS) -test.v -test.timeout=12s ./model || exit 1 build: diff --git a/config/config.json b/config/config.json index e38f1701a..b0a019e8d 100644 --- a/config/config.json +++ b/config/config.json @@ -1,7 +1,7 @@ { "LogSettings": { "ConsoleEnable": true, - "ConsoleLevel": "INFO", + "ConsoleLevel": "DEBUG", "FileEnable": true, "FileLevel": "INFO", "FileFormat": "", |