diff --git a/.ci/Dockerfile b/.ci/UbuntuBionic/Dockerfile similarity index 97% rename from .ci/Dockerfile rename to .ci/UbuntuBionic/Dockerfile index 5fe8b4c1..17b8e1cb 100644 --- a/.ci/Dockerfile +++ b/.ci/UbuntuBionic/Dockerfile @@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ bc \ build-essential \ clang-format \ + file \ g++ \ git \ cmake \ diff --git a/.travis.yml b/.travis.yml index f447968a..0f7b87bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,14 +8,14 @@ matrix: - name: Ubuntu Bionic (Debug) if: tag IS NOT present services: docker - before_install: docker build -t img .ci + before_install: docker build -t img .ci/UbuntuBionic script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src" img bash .ci/travis-compile.sh --server --debug - name: Ubuntu Bionic (Release) if: (branch = master AND NOT type = pull_request) OR tag IS present services: docker - script: docker build -t img .ci && - docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src" img + before_install: docker build -t img .ci/UbuntuBionic + script: docker run --mount "type=bind,source=$(pwd),target=/src" -w="/src" img bash .ci/travis-compile.sh --server --package --release #Ubuntu Xenial (Debug only) @@ -44,11 +44,9 @@ matrix: os: osx osx_image: xcode8 before_install: - - brew update - brew update - brew install ccache - - brew unlink python # protobuf python2 install requires this link to be removed - - brew install protobuf + - brew install protobuf --without-python@2 - brew install qt script: bash ./.ci/travis-compile.sh --server --install --debug - name: macOS (Release) @@ -56,11 +54,9 @@ matrix: os: osx osx_image: xcode8 before_install: - - brew update - brew update - brew install ccache - - brew unlink python # protobuf python2 install requires this link to be removed - - brew install protobuf + - brew install protobuf --without-python@2 - brew install qt script: bash ./.ci/travis-compile.sh --server --package --release