File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
2
+ dist : trusty
3
+ language : c
4
+ install :
5
+ - sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse"
6
+ - curl http://mirror.openio.io/pub/repo/openio/APT-GPG-KEY-OPENIO-0 | sudo apt-key add -
7
+ - sudo apt-add-repository "deb http://mirror.openio.io/pub/repo/openio/sds/17.04/ubuntu/trusty ./"
8
+ - sudo apt-get update -qq
9
+ - sudo apt-get install -y --force-yes libevent-2.0-5 libevent-dev make cmake libglib2.0-dev
10
+ - virtualenv $HOME/oio && source $HOME/oio/bin/activate
11
+
12
+ env :
13
+ - TEST_SUITE=build
14
+
15
+ script :
16
+ - set -e
17
+ - mkdir /tmp/oio && source $HOME/oio/bin/activate
18
+ - export CMAKE_OPTS='-DCMAKE_INSTALL_PREFIX=/tmp/oio -DLD_LIBDIR=lib -DZK_LIBDIR=/usr/lib'
19
+ - if [ "build" == "${TEST_SUITE/*build*/build}" ] ; then cmake ${CMAKE_OPTS} -DCMAKE_BUILD_TYPE="Release" . && make all && make clean ; fi
You can’t perform that action at this time.
0 commit comments