forked from ClusterLabs/crmsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (33 loc) · 1.41 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
---
sudo: required
dist: trusty
language: python
python:
- "2.7_with_system_site_packages"
before_install:
- sudo apt-get install -qq automake autoconf chrpath libglib2.0-dev perl net-tools python libtool libxml2-dev bison flex uuid-dev libbz2-dev zlib1g-dev libltdl3-dev libgnutls-dev python-dev libpam0g-dev libncurses5-dev libcorosync-dev libxslt1-dev libdbus-1-dev
- sudo apt-get install -qq heartbeat-dev libheartbeat2-dev
- sudo apt-get install -qq libqb-dev
- sudo apt-get install -y python-lxml python-dateutil python-setuptools python-yaml asciidoc pkg-config
- sudo dpkg -r --force-depends crmsh
- sudo dpkg -r --force-depends pacemaker
- wget https://github.com/ClusterLabs/cluster-glue/archive/master.tar.gz && tar xzf master.tar.gz
- cd cluster-glue-master && ./autogen.sh && ./configure && sudo make install && cd ..
- wget https://github.com/ClusterLabs/pacemaker/archive/Pacemaker-1.1.16.tar.gz && tar xzf Pacemaker-1.1.16.tar.gz
- cd pacemaker-Pacemaker-1.1.16 && ./autogen.sh && ./configure && sudo make install && cd ..
install:
- pip install tox-travis
script:
- tox
- test/travis-tests.sh
after_failure:
- sudo cat $TRAVIS_BUILD_DIR/crmtestout/regression.out $TRAVIS_BUILD_DIR/crmtestout/crm.* /etc/apt/sources.list
- lsb_release -a
- whoami
- printenv | sort
notifications:
irc:
channels:
- "chat.freenode.net#clusterlabs-dev"
on_success: never
on_failure: change