Unverified Commit 6006d6b6 authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #1573 from esrrhs/master

fix travis build
parents fcec7735 02d4ae83
...@@ -20,7 +20,7 @@ env: ...@@ -20,7 +20,7 @@ env:
before_install: before_install:
- sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -y cmake valgrind g++-multilib libc6-dbg:i386 - sudo apt-get install -y cmake valgrind g++-multilib libc6-dbg:i386 --allow-unauthenticated
matrix: matrix:
include: include:
......
...@@ -4,9 +4,8 @@ ...@@ -4,9 +4,8 @@
set -e set -e
DOXYGEN_VER=doxygen-1.8.15 DOXYGEN_VER=1_8_16
DOXYGEN_TAR=${DOXYGEN_VER}.linux.bin.tar.gz DOXYGEN_URL="https://codeload.github.com/doxygen/doxygen/tar.gz/Release_${DOXYGEN_VER}"
DOXYGEN_URL="http://doxygen.nl/files/${DOXYGEN_TAR}"
: ${GITHUB_REPO:="Tencent/rapidjson"} : ${GITHUB_REPO:="Tencent/rapidjson"}
GITHUB_HOST="github.com" GITHUB_HOST="github.com"
...@@ -47,9 +46,17 @@ abort() { ...@@ -47,9 +46,17 @@ abort() {
# install doxygen binary distribution # install doxygen binary distribution
doxygen_install() doxygen_install()
{ {
wget -O - "${DOXYGEN_URL}" | \ cd ${TMPDIR-/tmp}
tar xz -C ${TMPDIR-/tmp} ${DOXYGEN_VER}/bin/doxygen curl ${DOXYGEN_URL} -o doxygen.tar.gz
export PATH="${TMPDIR-/tmp}/${DOXYGEN_VER}/bin:$PATH" tar zxvf doxygen.tar.gz
mkdir doxygen_build
cd doxygen_build
cmake ../doxygen-Release_${DOXYGEN_VER}/
make
export PATH="${TMPDIR-/tmp}/doxygen_build/bin:$PATH"
cd ../../
} }
doxygen_run() doxygen_run()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment