summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/install.sh15
-rwxr-xr-x.ci/script.sh3
2 files changed, 11 insertions, 7 deletions
diff --git a/.ci/install.sh b/.ci/install.sh
index 72c34127..426f4c9c 100755
--- a/.ci/install.sh
+++ b/.ci/install.sh
@@ -7,6 +7,9 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
     brew install qt5 lmdb clang-format ninja libsodium cmark
     brew upgrade boost cmake icu4c || true
 
+    brew tap nlohmann/json
+    brew install nlohmann_json
+
     curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
     sudo python get-pip.py
 
@@ -35,12 +38,12 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
     ./configure && make && make check && sudo make install
     popd
 
-    sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
     sudo apt-get update -qq
     sudo apt-get install -qq -y \
-        qt${QT_PKG}base \
-        qt${QT_PKG}tools \
-        qt${QT_PKG}svg \
-        qt${QT_PKG}multimedia \
-        liblmdb-dev
+        qtbase5-dev \
+        qttools5-dev \
+        libqt5svg5-dev \
+        qtmultimedia5-dev \
+        liblmdb-dev \
+        nlohmann-json-dev
 fi
diff --git a/.ci/script.sh b/.ci/script.sh
index ce65cb14..435f2c27 100755
--- a/.ci/script.sh
+++ b/.ci/script.sh
@@ -24,7 +24,8 @@ fi
 # Build & install dependencies
 cmake -GNinja -Hdeps -B.deps \
     -DUSE_BUNDLED_BOOST=${USE_BUNDLED_BOOST} \
-    -DUSE_BUNDLED_CMARK=${USE_BUNDLED_CMARK}
+    -DUSE_BUNDLED_CMARK=${USE_BUNDLED_CMARK} \
+    -DUSE_BUNDLED_JSON=${USE_BUNDLED_JSON}
 cmake --build .deps
 
 # Build nheko