summaryrefslogtreecommitdiff
path: root/.travis/linux-prepare.sh
blob: 89770c28d900cc55d7065053f854b009a024708a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -ev

# Build and install sparse.
#
# Explicitly disable sparse support for llvm because some travis
# environments claim to have LLVM (llvm-config exists and works) but
# linking against it fails.
git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
cd sparse && make HAVE_LLVM= install && cd ..

pip install --disable-pip-version-check --user six flake8 hacking
pip install --user --upgrade docutils