forked from libvmi/python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (25 loc) · 689 Bytes
/
.travis.yml
File metadata and controls
28 lines (25 loc) · 689 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
dist: bionic
language: python
sudo: enabled
notifications:
email: false
python:
- "2.7"
- "3.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
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'