diff options
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | .travis/Dockerfile | 17 |
2 files changed, 9 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index ef59e4c..ba09998 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ services: env: global: - travis_boost_version: 1.65.0 + boost_version: 1.65.0 jobs: - configuration=Debug platform=x86 - configuration=Release platform=x86 @@ -20,7 +20,7 @@ env: script: >- docker-compose -f .travis/docker-compose.yml build - --build-arg travis_boost_version="$travis_boost_version" + --build-arg boost_version="$boost_version" --build-arg platform="$platform" --build-arg configuration="$configuration" mingw_build diff --git a/.travis/Dockerfile b/.travis/Dockerfile index d17d54f..28f1ab5 100644 --- a/.travis/Dockerfile +++ b/.travis/Dockerfile @@ -15,33 +15,30 @@ RUN apt-get update -yq && \ make \ mingw-w64 -ARG travis_boost_version=1.65.0 +ARG boost_version=1.65.0 ARG platform=x86 ARG configuration=Debug # We're on Travis, that's right. -ENV TRAVIS=1 ENV TRAVIS_BUILD_DIR=/usr/src COPY ["cmake", "$TRAVIS_BUILD_DIR/cmake"] WORKDIR "$TRAVIS_BUILD_DIR" -RUN ./cmake/boost/build/ci/travis.py \ - --link static \ +RUN cd cmake && \ + python3 -m project.ci.travis.boost \ + --mingw \ -- \ - --user-config="$TRAVIS_BUILD_DIR/cmake/boost/toolchains/mingw-w64-$platform.jam" \ --with-filesystem \ --with-program_options \ --with-test COPY [".", "$TRAVIS_BUILD_DIR"] -RUN ./cmake/cmake/build/ci/travis.py \ +RUN cd cmake && \ + python3 -m project.ci.travis.cmake \ --install /opt/pdb-repo \ - -- \ - -D "CMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/cmake/cmake/toolchains/mingw-w64-$platform.cmake" \ - -D "BOOST_ROOT=$HOME/boost" \ - -D "BOOST_LIBRARYDIR=$HOME/boost/stage/$platform/$configuration/lib" + --mingw FROM base |