-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
32 lines (28 loc) · 907 Bytes
/
.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
sudo: required
language: python
python: 2.7
before_install:
- sudo apt-get update -qq
- sudo apt-get install linux-libc-dev libc6-dev
- sudo apt-get install default-jdk
- sudo apt-get install virt-what
- sudo apt-get install pypy
- sudo apt-get install luajit
install:
- pip install -r requirements.txt
- pip install colorlog
script:
- sudo update-java-alternatives -l || true # returns 1 on success!
- uname -a
- make --version
- ldd --version
- java -version
- JAVA_CPPFLAGS='"-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux"' JAVA_LDFLAGS=-L${JAVA_HOME}/lib ENABLE_JAVA=1 make
- cd examples/benchmarks
- make
- make java-bench
- cd ../../
- make
- py.test --cov-report term --cov=krun krun libkrun
- cd examples
- python ../krun.py --quick --no-pstate-check --no-tickless-check --no-user-change travis.krun