Switch CI builds to use bundled JSON

Apparently the nlohmann library is not available in the standard
repositories.  I would rather build it than add universe deps.
remotes/origin/HEAD
redsky17 6 years ago
parent ee12e01939
commit e345cee32f
  1. 1
      .ci/install.sh
  2. 6
      .travis.yml
  3. 1
      Dockerfile

@ -45,5 +45,4 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
libqt5svg5-dev \ libqt5svg5-dev \
qtmultimedia5-dev \ qtmultimedia5-dev \
liblmdb-dev \ liblmdb-dev \
nlohmann-json-dev
fi fi

@ -31,7 +31,7 @@ matrix:
- DEPLOYMENT=1 - DEPLOYMENT=1
- USE_BUNDLED_BOOST=1 - USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1 - USE_BUNDLED_CMARK=1
- USE_BUNDLED_JSON=0 - USE_BUNDLED_JSON=1
addons: addons:
apt: apt:
sources: ["ubuntu-toolchain-r-test"] sources: ["ubuntu-toolchain-r-test"]
@ -45,7 +45,7 @@ matrix:
- QT_PKG=57 - QT_PKG=57
- USE_BUNDLED_BOOST=1 - USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1 - USE_BUNDLED_CMARK=1
- USE_BUNDLED_JSON=0 - USE_BUNDLED_JSON=1
addons: addons:
apt: apt:
sources: ["ubuntu-toolchain-r-test"] sources: ["ubuntu-toolchain-r-test"]
@ -59,7 +59,7 @@ matrix:
- QT_PKG=59 - QT_PKG=59
- USE_BUNDLED_BOOST=1 - USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1 - USE_BUNDLED_CMARK=1
- USE_BUNDLED_JSON=0 - USE_BUNDLED_JSON=1
addons: addons:
apt: apt:
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"] sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"]

@ -11,7 +11,6 @@ RUN \
RUN \ RUN \
apt-get install -y \ apt-get install -y \
nlohmann-json-dev \
make \ make \
pkg-config \ pkg-config \
ninja-build \ ninja-build \

Loading…
Cancel
Save