Set db password in Travis CI config to fix tests
This commit is contained in:
parent
801097c368
commit
695ff61f4a
2 changed files with 4 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -69,7 +69,7 @@ test-firefox:
|
|||
(cd frontend && npm run test-firefox)
|
||||
test-go:
|
||||
$(info Running all Go unit tests...)
|
||||
$(GOTEST) -tags=slow -timeout 20m ./internal/...
|
||||
$(GOTEST) -count=1 -tags=slow -timeout 20m ./internal/...
|
||||
test-verbose:
|
||||
$(info Running all Go unit tests in verbose mode...)
|
||||
$(GOTEST) -tags=slow -timeout 20m -v ./internal/...
|
||||
|
|
|
@ -4,6 +4,8 @@ services:
|
|||
photoprism:
|
||||
build: .
|
||||
image: photoprism/photoprism:develop
|
||||
depends_on:
|
||||
- photoprism-mysql
|
||||
command: tail -f /dev/null
|
||||
volumes:
|
||||
- "~/.cache/npm:/root/.cache/npm"
|
||||
|
@ -13,6 +15,7 @@ services:
|
|||
PHOTOPRISM_HTTP_PORT: 2342
|
||||
PHOTOPRISM_SQL_HOST: "0.0.0.0"
|
||||
PHOTOPRISM_SQL_PORT: 4000
|
||||
PHOTOPRISM_SQL_PASSWORD: "photoprism"
|
||||
CODECOV_TOKEN:
|
||||
CODECOV_ENV:
|
||||
CODECOV_URL:
|
||||
|
|
Loading…
Reference in a new issue