forked from jvm-profiling-tools/honest-profiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.05 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
language: cpp
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
- os: linux
dist: trusty
sudo: required
compiler: clang
- os: osx
osx_image: xcode7.3
compiler: gcc
- os: osx
osx_image: xcode7.3
compiler: clang
- os: osx
osx_image: xcode9
compiler: gcc
- os: osx
osx_image: xcode9
compiler: clang
env:
- EXT_CXX_FLAGS="-fsanitize=address -DDEBUG_MAP_GC" ASAN_OPTIONS="detect_odr_violation=0"
branches:
only:
- master
- stage
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y libunittest++-dev; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install unittest-cpp && brew uninstall cmake && brew install cmake; fi
- if [ $TRAVIS_OS_NAME == osx ]; then export UNITTEST_INCLUDE_DIRS=/usr/local/Cellar/unittest-cpp/; fi
- g++ --version
- clang++ --version
- java -version
install: cmake CMakeLists.txt
script: make && build/unitTests
after_script: rm -f *.hpl *.log