Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: .travis/prepare-ninja.sh

Issue 29663688: Issue 6220 - add travis-ci configuration for adblockpluscore (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: rebase & fix openssl version on osx Created March 1, 2018, 10:52 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: .travis/prepare-ninja.sh
diff --git a/.travis/prepare-ninja.sh b/.travis/prepare-ninja.sh
new file mode 100644
index 0000000000000000000000000000000000000000..e3199a791491191fd000e08fe5a7b845d18fdf52
--- /dev/null
+++ b/.travis/prepare-ninja.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -x
+set -e
+
+if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
+brew update; brew install ninja;
+else
+wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip -O third_party/ninja-build.zip
+mkdir third_party/ninja
+unzip third_party/ninja-build.zip -d third_party/ninja
+fi

Powered by Google App Engine
This is Rietveld