Skip to content

Commit 5a61d54

Browse files
committed
Install newer version of Doxygen because of a bug in version 1.7.6.1 (#162)
1 parent 3310849 commit 5a61d54

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

support/travis-build.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Build the project on Travis CI.
33

44
from __future__ import print_function
5-
import errno, os, re, shutil, sys, tempfile
5+
import errno, os, re, shutil, sys, tempfile, urllib2
66
from subprocess import call, check_call, Popen, PIPE, STDOUT
77

88
def rmtree_if_exists(dir):
@@ -22,8 +22,14 @@ def rmtree_if_exists(dir):
2222
check_call('echo "deb https://deb.nodesource.com/node_0.10 precise main" | ' +
2323
'sudo tee /etc/apt/sources.list.d/nodesource.list', shell=True)
2424
check_call(['sudo', 'apt-get', 'update'])
25-
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
25+
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'nodejs'])
2626
check_call(['npm', 'install', '-g', 'less', 'less-plugin-clean-css'])
27+
deb_file = 'doxygen_1.8.6-2_amd64.deb'
28+
response = urllib2.urlopen('http://mirrors.kernel.org/ubuntu/pool/main/d/doxygen/' +
29+
deb_file)
30+
with open(deb_file, 'wb') as f:
31+
f.write(response.read())
32+
check_call(['sudo', 'dpkg', '-i', deb_file])
2733
cppformat_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
2834
sys.path.insert(0, os.path.join(cppformat_dir, 'doc'))
2935
import build

0 commit comments

Comments
 (0)