-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.76 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
language: c
dist: trusty
sudo: required
before_install:
# C++11
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install g++-5
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
- ./scripts/install-deps.sh -i
- git clone https://github.com/CxxTest/cxxtest.git
- export PATH=$PATH:`pwd`/cxxtest/bin/; export LIBRARY_PATH=$LIBRARY_PATH:`pwd`/cxxtest/
- sudo apt-get remove --purge clang
- sudo apt-get install clang-3.8
- apt-cache search clang-3.8
before_script: mkdir ../tmp
script:
- ./waf distclean configure build &&
./waf distclean configure --use-all --use-third-party --use-clang --use-cxxtest --prefix=../tmp/ &&
./waf build &&
./waf install &&
cd examples && source ./env /home/travis/build/ZeroCM/tmp &&
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/travis/build/ZeroCM/tmp/lib/pkgconfig &&
export PATH=$PATH:/home/travis/build/ZeroCM/tmp/bin &&
./waf distclean configure build && cd .. &&
./waf distclean configure --use-all --use-third-party --use-clang --use-cxxtest --prefix=../tmp/ &&
./waf build_asan &&
./waf install_asan &&
cd examples && source ./env /home/travis/build/ZeroCM/tmp &&
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/travis/build/ZeroCM/tmp/lib/pkgconfig &&
export PATH=$PATH:/home/travis/build/ZeroCM/tmp/bin &&
./waf distclean configure --use-clang build_asan && cd ..
git:
depth: 1
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e23128f14b1634065c82
on_success: change
on_failure: always
on_start: never
email:
recipients:
- jonathan.bendes@gmail.com
on_success: change
on_failure: always
on_start: never