forked from facebook/wdt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 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
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
sudo: false
language: cpp
os:
- linux
- osx
# Need >= xcode9 to build folly
osx_image: xcode9.4
# Need >= gcc 5 to build folly
dist: xenial
compiler:
- clang
- gcc
addons:
apt:
sources:
- boost-latest
packages:
- libboost-system-dev
- libboost-filesystem-dev
- libssl-dev
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