2018-11-12 07:48:49 +01:00
|
|
|
#!/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
|
2019-05-07 15:41:33 +02:00
|
|
|
docker-compose -f docker-compose.travis.yml exec photoprism make all test-js install migrate test-codecov;
|
2018-11-12 07:48:49 +01:00
|
|
|
else
|
2019-05-07 15:41:33 +02:00
|
|
|
docker-compose -f docker-compose.travis.yml exec photoprism make all test-js install migrate test;
|
2018-11-12 07:48:49 +01:00
|
|
|
fi
|