Skip to content
Snippets Groups Projects
Commit 83a211ab authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Use ninja in ci

parent 60672f5d
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ set -ex
if [ $TRAVIS_OS_NAME == osx ]; then
brew update || true
brew upgrade boost || true
brew install libsodium clang-format
brew install libsodium clang-format ninja
brew tap nlohmann/json
# the nlohmann install seems to make travis angry
# because of the number of log messages
......
......@@ -20,11 +20,13 @@ matrix:
env:
- CXX_VERSION=g++-8
- CC_VERSION=gcc-8
- CMAKE_GENERATOR=Ninja
- os: linux
compiler: clang
env:
- CXX_VERSION=clang++-6.0
- CC_VERSION=clang-6.0
- CMAKE_GENERATOR=Ninja
- COVERAGE=ON
install:
......
......@@ -9,7 +9,7 @@ ENV CMAKE_SHORT_VERSION=3.15
RUN \
apt-get update -qq && \
apt-get install -y --no-install-recommends apt-transport-https software-properties-common curl && \
apt-get install -y --no-install-recommends apt-transport-https software-properties-common curl ninja-build && \
# cmake
curl https://cmake.org/files/v${CMAKE_SHORT_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh -o cmake-install.sh && \
bash cmake-install.sh --skip-license --prefix=/usr/local && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment