forked from travitch/whole-program-llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: python
sudo: required
dist: trusty
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
# command to install dependencies
install:
- sudo apt-get update
# apache prerequisites
- sudo apt-get install -y libapr1-dev libaprutil1-dev
# for the clang build
- sudo apt-get install -y llvm-3.5 clang-3.5
# dragonegg prereqs. dragonegg and llvm-gcc use llvm 3.3
- sudo apt-get install -y llvm-3.3 llvm-gcc-4.7
# Install wllvm
# Report the version of pip being used for debugging purposes.
# It should report the site-packages directory and the version
# of python it is working with.
- pip --version
- pip install -e .
# command to run tests
script:
# # Run unittests
- python -m unittest discover test/ || exit 1
- export WLLVM_HOME=`pwd`
- ${WLLVM_HOME}/.travis/store.sh
- export APACHE_VER=2.4.18
# build apache with clang
- ${WLLVM_HOME}/.travis/apache_clang.sh
# build apache with gcc and dragonegg
- ${WLLVM_HOME}/.travis/apache_dragonegg.sh
# build musllvm with clang
- ${WLLVM_HOME}/.travis/musllvm.sh