forked from KVM-VMI/python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (26 loc) · 710 Bytes
/
Copy path.travis.yml
File metadata and controls
29 lines (26 loc) · 710 Bytes
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
dist: trusty
language: python
sudo: enabled
notifications:
email: false
python:
- "2.7"
- "3.5"
- "pypy3.5"
before_install:
# install libvmi dependencies
- sudo apt-get update -qq
- >
sudo apt-get install -qq cmake bison flex check libjson-c-dev libglib2.0-dev
libxc1 libxenstore3.0 libxen-dev
libvirt-dev
# clone, compile and install libvmi
- git clone https://github.com/libvmi/libvmi /tmp/libvmi
# avoid changing directory
- (mkdir /tmp/libvmi/build && cd /tmp/libvmi/build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make && sudo make install)
install:
- pip install .
- pip install pep8
script:
- pep8 --show-source -v
- python -c 'from libvmi import Libvmi'