script:
- echo "FROM postgis/postgis-build-env:${tag}" > Dockerfile
- echo "ADD --chown=postgres:postgres . /src/postgis" >> Dockerfile
- - echo "CMD ci/travis/run_tests.sh && bash .github/codecov.bash" >> Dockerfile
+ - echo "CMD bash ci/travis/run_tests.sh && bash .github/codecov.bash" >> Dockerfile
- docker build -t pgtest .
- ci_env=`bash .github/codecov_env.bash`
- docker run $ci_env --name pgtest-${TRAVIS_BUILD_NUMBER} pgtest