Skip to content

Commit

Permalink
BuildCmp Value Error Message Changed
Browse files Browse the repository at this point in the history
  • Loading branch information
kpango committed Aug 14, 2018
1 parent 94701cb commit b70ec46
Show file tree
Hide file tree
Showing 46 changed files with 1,716 additions and 1,114 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.10
environment:
- DBR_TEST_MYSQL_DSN=root:root@tcp(127.0.0.1:3306)/circle_test
- DBR_TEST_POSTGRES_DSN=postgres://postgres:[email protected]:5432/postgres?sslmode=disable
- image: percona:5.7.20
environment:
- MYSQL_DATABASE=circle_test
- MYSQL_ROOT_PASSWORD=root
- image: postgres:9.6-alpine

working_directory: /go/src/github.com/gocraft/dbr
steps:
- checkout
- run:
name: Install dockerize
command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
environment:
DOCKERIZE_VERSION: v0.3.0
- run:
name: Wait for db
command: dockerize -wait tcp://127.0.0.1:3306 -wait tcp://127.0.0.1:5432 -timeout 1m
- run: go get -t ./...
- run: go test -v -cover -bench . ./...
20 changes: 0 additions & 20 deletions CHANGELOG.md

This file was deleted.

Loading

0 comments on commit b70ec46

Please sign in to comment.