forked from lvdmaaten/bhtsne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (39 loc) · 1.04 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
language: c++
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- g++-5
matrix:
include:
- os: osx
osx_image: xcode9.1
env: CMAKE_CONFIGURATION=release BUILD_DIR=build
- os: osx
osx_image: xcode9.1
env: CMAKE_CONFIGURATION=debug BUILD_DIR=build-debug
- os: linux
compiler: clang
env: CMAKE_CONFIGURATION=release BUILD_DIR=build
- os: linux
compiler: clang
env: CMAKE_CONFIGURATION=debug BUILD_DIR=build-debug
- os: linux
compiler: gcc
env:
- CMAKE_CONFIGURATION=release BUILD_DIR=build
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- os: linux
compiler: gcc
env:
- CMAKE_CONFIGURATION=debug BUILD_DIR=build-debug
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
before_script:
- eval "${MATRIX_EVAL}"
- ./configure
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=TRUE" ./configure $CMAKE_CONFIGURATION
script:
- cmake --build $BUILD_DIR
- cmake --build $BUILD_DIR --target test