summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2018-10-28 12:09:56 +0000
committerSami Kerola <kerolasa@iki.fi>2018-10-28 12:09:56 +0000
commit89f1cdc8fe4ede1f4292906347428238491de1d6 (patch)
tree04f32a6b0dbf205bc927bd2e85939c038d6dc28a
parent8f715b04f1b00ca6e8903640fcbfd8b63220342b (diff)
downloadiputils-89f1cdc8fe4ede1f4292906347428238491de1d6.tar.gz
build-sys: hardcode ninja version to v1.8.2
Finding latest version fails too often following way. http://: Invalid host name. The command "wget "$NINJA_LATEST"" failed and exited with 1 during . That ninja version was created at 2017-09-11 so it is not changing all the time. I guess it's fine to hardcode this, and review if the version is still the latest before iputils release. Reference: https://travis-ci.org/iputils/iputils/jobs/447360838 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index df1266b..f21795f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ matrix:
- env: CC=gcc
- env: CC=clang
install:
- - export NINJA_LATEST=$(curl --silent https://api.github.com/repos/ninja-build/ninja/releases/latest | awk --field-separator='"' '/browser_download_url.*ninja-linux.zip/ {print $4}')
+ - export NINJA_LATEST="https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip"
- wget "$NINJA_LATEST"
- unzip -q ninja-linux.zip -d build
- export PATH="$PWD/build:$PATH"