Skip to content

Commit ea35cee

Browse files
committed
First travis tests: build apache using llvm-3.4 and python 2.7 and 3.3
1 parent de43e88 commit ea35cee

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ language: python
22
python:
33
- "3.3"
44
- "2.7"
5-
- "2.6"
65

76
# command to install dependencies
87
install:
98
- sudo apt-get update
10-
- sudo apt-get install llvm-3.4
9+
- sudo apt-get install llvm-3.4 clang-3.4 libapr1-dev libaprutil1-dev
1110
- export WLLVM_HOME=`pwd`
1211

1312
# command to run tests

.travis/apache.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,28 @@
22
# Make sure we exit if there is a failure
33
set -e
44

5+
6+
export PATH=/usr/lib/llvm-3.4/bin:${WLLVM_HOME}:${PATH}
7+
export LLVM_COMPILER='clang'
8+
export WLLVM_OUTPUT=WARNING
9+
10+
wget http://apache.mirrors.pair.com//httpd/httpd-2.4.12.tar.gz
11+
tar xfz httpd-2.4.12.tar.gz
12+
cd httpd-2.4.12
13+
CC=wwlvm ./configure
14+
make
15+
extract-bc httpd
16+
17+
18+
if [ -s "httpd.bc" ]
19+
then
20+
echo "httpd.bc built."
21+
else
22+
exit 1
23+
fi
24+
25+
26+
27+
28+
29+

0 commit comments

Comments
 (0)