forked from nfs-ganesha/nfs-ganesha
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
74 lines (65 loc) · 2.85 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
language: c
compiler:
- gcc
- clang
env:
- BUILD_TYPE=Maintainer
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
branches:
only:
- next
matrix:
allow_failures:
- compiler: clang
env: BUILD_TYPE=Maintainer
- compiler: clang
env: BUILD_TYPE=Debug
before_install:
- git submodule update --init --recursive
- sudo add-apt-repository -y ppa:gluster/glusterfs-3.6
- sudo apt-add-repository -y ppa:lttng/ppa
- sudo apt-get update -q
- sudo apt-get install -y libnfsidmap2
- sudo apt-get install -y libnfsidmap-dev
- sudo apt-get install -y libkrb5-3
- sudo apt-get install -y libkrb5-dev
- sudo apt-get install -y libk5crypto3
- sudo apt-get install -y libgssapi-krb5-2
- sudo apt-get install -y libgssglue1
- sudo apt-get install -y libdbus-1-3
- sudo apt-get install -y libattr1-dev
- sudo apt-get install -y libacl1-dev
- sudo apt-get install -y dbus
- sudo apt-get install -y libdbus-1-dev
- sudo apt-get install -y libcap-dev
- sudo apt-get install -y libjemalloc-dev
- sudo apt-get install -y glusterfs-common
- sudo apt-get install -y uuid-dev
- sudo apt-get install -y libblkid-dev
- sudo apt-get install -y xfslibs-dev
# - sudo apt-get install -y libcephfs-dev
- sudo apt-get install -y libwbclient-dev
- sudo apt-get install -y lttng-tools
- sudo apt-get install -y liblttng-ust-dev
- sudo apt-get install -y lttng-modules-dkms
- sudo apt-get install -y pyqt4-dev-tools
- sudo apt-get install -y rpm2cpio
- sudo apt-get install -y libaio-dev
- sudo apt-get install -y libibverbs-dev
- sudo apt-get install -y librdmacm-dev
install:
- wget https://downloads.hpdd.intel.com/public/lustre/latest-maintenance-release/el6/server/RPMS/x86_64/lustre-2.5.3-2.6.32_431.23.3.el6_lustre.x86_64.x86_64.rpm -O /tmp/lustre.rpm
- mkdir /tmp/lustre && pushd /tmp/lustre ; rpm2cpio /tmp/lustre.rpm | cpio -id ./usr/include/\* ./usr/lib64/liblustreapi.a ; popd
- wget https://github.com/tfb-bull/mooshika/archive/0.7.1.tar.gz -O /tmp/mooshika.tar.gz
- mkdir /tmp/mooshika && tar xf /tmp/mooshika.tar.gz -C /tmp && cd /tmp/mooshika-0.7.1 && sh autogen.sh && ./configure --prefix=/tmp/mooshika && make && make install && cd $TRAVIS_BUILD_DIR
- if [[ ${CC} == 'gcc' ]]; then cd contrib/libzfswrap && aclocal -I m4 && libtoolize --force --copy && autoconf && autoheader && automake -a --add-missing -Wall && ./configure --prefix=/tmp/libzfswrap && make && make install && cd $TRAVIS_BUILD_DIR ; fi
script:
- mkdir ../build && cd ../build && cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_CONFIG=everything -DUSE_FSAL_PT=ON -DUSE_FSAL_CEPH=OFF -DUSE_ADMIN_TOOLS=ON -DUSE_LTTNG=ON -DUSE_TIRPC_IPV6=ON -DUSE_9P_RDMA=ON -D_USE_9P_RDMA=ON -DLUSTRE_PREFIX=/tmp/lustre/usr -DZFS_PREFIX=/tmp/libzfswrap -DMOOSHIKA_PREFIX=/tmp/mooshika ../nfs-ganesha/src/ && make
#notifications:
# email:
# recepients:
#
# on_success: always
# on_failure: always