diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-21 20:26:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-21 20:26:34 +0300 |
commit | 7c2e02d756711a46b88a99bc66ff8747adc0789a (patch) | |
tree | 216c2983c4624d5f23da0e536cfd6f13b700fe0c | |
parent | CallStack: overhaul the API (diff) | |
download | winapi-debug-7c2e02d756711a46b88a99bc66ff8747adc0789a.tar.gz winapi-debug-7c2e02d756711a46b88a99bc66ff8747adc0789a.zip |
Travis: incremental Docker builds
-rw-r--r-- | .travis/Dockerfile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis/Dockerfile b/.travis/Dockerfile index 48dc9fd..9ca711c 100644 --- a/.travis/Dockerfile +++ b/.travis/Dockerfile @@ -22,7 +22,8 @@ ARG configuration=Debug # We're on Travis, that's right. ENV TRAVIS=1 ENV TRAVIS_BUILD_DIR=/usr/src -COPY [".", "$TRAVIS_BUILD_DIR"] + +COPY ["cmake", "$TRAVIS_BUILD_DIR/cmake"] WORKDIR "$TRAVIS_BUILD_DIR" RUN ./cmake/boost/build/ci/travis.py \ @@ -30,8 +31,11 @@ RUN ./cmake/boost/build/ci/travis.py \ -- \ --user-config="$TRAVIS_BUILD_DIR/cmake/boost/toolchains/mingw-w64-$platform.jam" \ --with-filesystem \ - --with-program_options && \ - ./cmake/cmake/build/ci/travis.py \ + --with-program_options + +COPY [".", "$TRAVIS_BUILD_DIR"] + +RUN ./cmake/cmake/build/ci/travis.py \ --install /opt/pdb-repo \ -- \ -D "CMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/cmake/cmake/toolchains/mingw-w64-$platform.cmake" \ |