forked from haiwen/seafile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 1.16 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
language: c
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq valac uuid-dev libevent-dev libarchive-dev intltool re2c libjansson-dev
- git clone --depth=1 --branch=release-2-11-3 https://bitbucket.org/tildeslash/libzdb.git deps/libzdb
- git clone --depth=1 --branch=master git://github.com/haiwen/libsearpc.git deps/libsearpc
- git clone --depth=1 --branch=master git://github.com/haiwen/ccnet.git deps/ccnet
- curl -L -o libevhtp.tar.gz https://github.com/ellzey/libevhtp/archive/1.2.9.tar.gz
- tar -xvf libevhtp.tar.gz -C deps
- cd deps/libevhtp-1.2.9 && cmake -DEVHTP_DISABLE_SSL=OFF -DEVHTP_BUILD_SHARED=ON . && make -j8 && sudo make install && cd -
- cd deps/libzdb && ./bootstrap && ./configure --without-postgresql --without-mysql && make -j8 && sudo make install && cd -
- cd deps/libsearpc && ./autogen.sh && ./configure
- make -j8 && sudo make install && cd ../..
- cd deps/ccnet && ./autogen.sh && ./configure --enable-client --enable-server
- make -j8 && sudo make install && cd ../..
- ./autogen.sh
script:
- ./configure --disable-fuse --enable-client --enable-server
- make -j8
notifications:
email: false