forked from facebook/wdt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 1.22 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
sudo: false
language: cpp
os:
- linux
- osx
osx_image: xcode8.3
compiler:
- clang
- gcc
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- g++-4.9
- clang-3.6
- libboost-system1.55-dev
- libboost-filesystem1.55-dev
# - libssl-dev
# - openssl-1.0.1f
script:
# Debug
- date ; uname -a ; pwd ; ls -l ..; echo $HOSTNAME
# Build
- mkdir ../build && cd ../build
- echo $PATH; echo $LD_LIBRARY_PATH
- which $CXX
- cmake ../wdt -DBUILD_TESTING=1
#- make -j 4 VERBOSE=1
- make -j 4
#- WDT_TEST_SYMLINKS=0 CTEST_OUTPUT_ON_FAILURE=1 make test
- CTEST_OUTPUT_ON_FAILURE=1 make test
# to see the full output/debug:
#- ../wdt_e2e_simple_test.sh
before_install:
- echo "Travis os name $TRAVIS_OS_NAME"
# will change PATH so we find cmake,...
- source ./build/travis_${TRAVIS_OS_NAME}.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/573ed195be620cb76847
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always