add circle ci config file (#20)

This commit is contained in:
Lunny Xiao 2016-12-13 15:00:20 +08:00 committed by GitHub
parent 2ec3936f8a
commit 46c93adfe5
1 changed files with 14 additions and 0 deletions

14
circle.yml Normal file
View File

@ -0,0 +1,14 @@
dependencies:
override:
# './...' is a relative pattern which means all subdirectories
- go get -t -d -v ./...
- go build -v
database:
override:
- mysql -u root -e "CREATE DATABASE core_test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci"
test:
override:
# './...' is a relative pattern which means all subdirectories
- go test -v -race