kopia lustrzana https://github.com/kartoza/docker-postgis
Fix travis
rodzic
0df962e1f8
commit
5f125af29c
|
@ -16,6 +16,7 @@ env:
|
|||
- SCENARIO=logical_replication
|
||||
|
||||
before_script:
|
||||
- pip install -U docker-compose
|
||||
- ./build-test.sh
|
||||
|
||||
script:
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
# Building an debian base image
|
||||
|
||||
if [[ ! -f .env ]]; then
|
||||
echo "Default build arguments don't exists. Creating one from default value."
|
||||
cp .example.env .env
|
||||
fi
|
||||
|
||||
docker-compose -f docker-compose.build.yml build postgis-base
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
# For scenario testing purposes
|
||||
|
||||
if [[ ! -f .env ]]; then
|
||||
echo "Default build arguments don't exists. Creating one from default value."
|
||||
cp .example.env .env
|
||||
fi
|
||||
|
||||
docker-compose -f docker-compose.build.yml build postgis-test
|
||||
|
|
5
build.sh
5
build.sh
|
@ -1,3 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ! -f .env ]]; then
|
||||
echo "Default build arguments don't exists. Creating one from default value."
|
||||
cp .example.env .env
|
||||
fi
|
||||
|
||||
docker-compose -f docker-compose.build.yml build postgis-prod
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
docker-compose==1.28
|
Ładowanie…
Reference in New Issue