forked from ClusterLabs/fence-agents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (41 loc) · 1.08 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
43
44
45
46
language: python
sudo: required
dist: trusty
python:
- "2.7"
addons:
apt:
packages:
- python-pexpect
- xsltproc
- time
- libpam0g-dev
- libxml2-utils
- libcimcclient0-dev
- swig
- iputils-ping
before_install:
- pip install suds
- pip install pycurl
- pip install requests
- pip install pexpect
- pip install boto3
- pip install google-api-python-client
- pip install python-novaclient
- pip install python-keystoneclient
before_script:
- wget https://github.com/Openwsman/openwsman/archive/v2.6.3.tar.gz
- tar zxvf v2.6.3.tar.gz
- cd openwsman-2.6.3
- perl -p -i -e "s/(\\$\{CURL_LIBRARIES\})/\1 ssl crypto/g" src/lib/CMakeLists.txt
- mkdir build && cd build
- cmake .. -DPYTHON_EXECUTABLE:FILEPATH=~/virtualenv/python2.7/bin/python -DLIB=/lib/x86_64-linux-gnu -DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=TRUE
- make
- sudo make install
- cd ../..
script:
- ./autogen.sh
- ./configure
- make -j4
- make -j4 check
- PYTHONPATH=lib python lib/tests/test_fencing.py