diff --git a/Makefile b/Makefile index d046ed54b..152a855cc 100644 --- a/Makefile +++ b/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/... diff --git a/docker-compose.travis.yml b/docker-compose.travis.yml index 3cf10af9c..5b1e0f2dc 100644 --- a/docker-compose.travis.yml +++ b/docker-compose.travis.yml @@ -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: