forked from openvstorage/framework-alba-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (20 loc) · 760 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: python
sudo: required
dist: trusty
notifications:
email: false
before_install:
- sudo echo "deb http://apt.openvstorage.org unstable main" | sudo tee -a /etc/apt/sources.list
- sudo rm -rf /var/lib/apt/lists/*
- sudo apt-get -qq update
- sudo apt-get install -y --force-yes openvstorage-hc
before_script:
- sudo find /opt/OpenvStorage -type d -exec chmod 777 {} +
- sudo find /opt/OpenvStorage -type f -exec chmod 666 {} +
- sudo chmod 777 /opt
- sudo chmod 777 /var/log/ovs
- sudo chmod 777 /run
- cp -R ../framework-alba-plugin/* /opt/OpenvStorage/
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/:/usr/lib/python2.7/dist-packages
script:
- ovs unittest /opt/OpenvStorage/ovs/dal/tests/test_alba.py