12 lines
360 B
Bash
Executable file
12 lines
360 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ -z $TRAVIS_BRANCH ]]; then
|
|
echo "TRAVIS_BRANCH must be set" 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
if [[ $TRAVIS_BRANCH == "develop" ]]; then
|
|
docker-compose -f docker-compose.travis.yml exec photoprism make all install migrate test-codecov;
|
|
else
|
|
docker-compose -f docker-compose.travis.yml exec photoprism make all install migrate test;
|
|
fi
|