2021-11-23 20:42:01 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Login
|
2021-12-10 17:01:45 +01:00
|
|
|
scripts/docker/login.sh
|
2021-11-23 20:42:01 +01:00
|
|
|
|
|
|
|
# Run tests
|
|
|
|
docker-compose -f docker-compose.ci.yml pull
|
2022-01-18 18:08:17 +01:00
|
|
|
docker-compose -f docker-compose.ci.yml build
|
2022-01-18 18:14:57 +01:00
|
|
|
trap "docker rm -f -v photoprism-test" INT TERM
|
2022-01-18 18:08:17 +01:00
|
|
|
docker-compose -f docker-compose.ci.yml run --name photoprism-test --rm -T photoprism make all test install migrate
|