2018-02-06 11:26:20 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-06-06 22:13:59 +02:00
|
|
|
QT_VERSION=5.9.6
|
2018-02-06 11:26:20 +01:00
|
|
|
DOCKER_IMAGE=syping/qt5-shared-mingw:${QT_VERSION}
|
|
|
|
PROJECT_DIR_DOCKER=/gta5view
|
|
|
|
|
|
|
|
cd ${PROJECT_DIR} && \
|
|
|
|
docker pull ${DOCKER_IMAGE} && \
|
|
|
|
docker run --rm \
|
|
|
|
-v "${PROJECT_DIR}:${PROJECT_DIR_DOCKER}" \
|
|
|
|
${DOCKER_IMAGE} \
|
2018-05-30 09:09:15 +02:00
|
|
|
/bin/bash -c "export PROJECT_DIR=${PROJECT_DIR_DOCKER} && export QT_SELECT=${QT_SELECT} && export APPLICATION_VERSION=${APPLICATION_VERSION} && export QMAKE_FLAGS_QT4=${QMAKE_FLAGS_QT4} && export QMAKE_FLAGS_QT5=${QMAKE_FLAGS_QT5} && export PACKAGE_VERSION=${PACKAGE_VERSION} && export PACKAGE_BUILD=${PACKAGE_BUILD} && export PACKAGE_CODE=${PACKAGE_CODE} && export EXECUTABLE_VERSION=${EXECUTABLE_VERSION} && export EXECUTABLE_ARCH=${EXECUTABLE_ARCH} && cd ${PROJECT_DIR_DOCKER} && .travis/wininstall_build.sh"
|