Commit | Line | Data |
---|---|---|
f5a2514c DG |
1 | env: |
2 | # You can also install binary packages instead to speed-up building | |
3 | - URCU_REPO=git://git.lttng.org/userspace-rcu.git LTTNG_UST_REPO=git://git.lttng.org/lttng-ust.git BABELTRACE_REPO=git://git.efficios.com/babeltrace.git | |
4 | language: c | |
5 | compiler: | |
6 | - gcc | |
7 | - clang | |
8 | before_install: | |
9 | - git clone $URCU_REPO ../urcu | |
10 | - git clone $LTTNG_UST_REPO ../lttng-ust | |
11 | - git clone $BABELTRACE_REPO ../babeltrace | |
12 | install: | |
13 | - sudo apt-get install -qq libpopt-dev uuid-dev | |
14 | - pushd ../urcu && ./bootstrap && ./configure && make && sudo make install && popd | |
15 | - pushd ../lttng-ust && ./bootstrap && ./configure && make && sudo make install && popd | |
16 | - pushd ../babeltrace && ./bootstrap && ./configure && make && sudo make install && popd | |
17 | - sudo ldconfig | |
18 | # Workaround for travis-ci/travis-cookbooks#155, https://github.com/travis-ci/travis-cookbooks/issues/155 | |
19 | - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm | |
20 | script: | |
21 | - ./bootstrap | |
22 | - ./configure | |
23 | - make | |
24 | - make check | |
25 | branches: | |
26 | only: | |
27 | - master | |
28 | - travis-ci | |
29 | - /^bug*/ | |
30 | ||
31 | #notifications: | |
32 | # recipients: | |
33 | # - test@test.com | |
34 | # email: | |
35 | # on_success: change | |
36 | # on_failure: always | |
37 | # irc: | |
38 | # channels: | |
39 | # - "irc.oftc.net#lttng" |