mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Add scripts/travis.sh and remove IFs from .travis.yml #62
This commit is contained in:
parent
ef4f9c3f7b
commit
aa831d3a2f
2 changed files with 13 additions and 2 deletions
12
scripts/travis.sh
Executable file
12
scripts/travis.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue