mirror of
https://github.com/nicksherron/bashhub-server.git
synced 2024-11-10 09:02:54 +08:00
parent
88c2c27807
commit
60f5e13ef3
1 changed files with 0 additions and 17 deletions
17
.travis.yml
17
.travis.yml
|
@ -1,17 +0,0 @@
|
|||
language: go
|
||||
go:
|
||||
- "1.14.x"
|
||||
|
||||
services:
|
||||
- postgresql
|
||||
- docker
|
||||
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
|
||||
before_install:
|
||||
- docker build -t nicksherron/bashhub-server .
|
||||
- docker run -d -p 127.0.0.1:8080:8080 nicksherron/bashhub-server
|
||||
- curl 127.0.0.1:8080/ping
|
||||
|
||||
script: go test ./... && go test github.com/nicksherron/bashhub-server/internal -postgres-uri "postgres://postgres:@localhost:5432?sslmode=disable"
|
Loading…
Reference in a new issue