fix global env var

This commit is contained in:
Denis Rouzaud 2018-11-16 18:44:00 +01:00
parent d131a57c97
commit 06e139eb32
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ set -e
mkdir -p "$CCACHE_DIR"
if [[ DOCKER_BUILD_QGIS_IMAGE =~ true ]]; then
if [[ ${DOCKER_BUILD_QGIS_IMAGE} =~ true ]]; then
# building docker images
DIR=$(git rev-parse --show-toplevel)/.docker
pushd "${DIR}"
@ -34,5 +34,5 @@ if [[ DOCKER_BUILD_QGIS_IMAGE =~ true ]]; then
popd
else
# running tests
docker-compose -f "${DOCKER_COMPOSE}" run --rm qgis-deps
docker-compose -f ${TRAVIS_BUILD_DIR}/.docker/docker-compose.travis.yml run --rm qgis-deps
fi

View File

@ -10,8 +10,8 @@ cache:
- $HOME/.ccache
timeout: 1000
global:
env:
env:
global:
- TRAVIS_TIMESTAMP=$(date +%s)
- CCACHE_DIR=${HOME}/.ccache