-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml.simpler.bak
49 lines (40 loc) · 1.16 KB
/
.travis.yml.simpler.bak
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
language: cpp
# $PROJ_BUILD_DIR must not be co-located with the source directory!
# env:
# global: # this is useful for future caching, see VXL/.travis.yml
# - PROJ_SOURCE_DIR=${TRAVIS_BUILD_DIR} # ${HOME}/build/<USER>/<REPO>
# - PROJ_BUILD_DIR=${HOME}/proj/build
# - PROJ_INSTALL_DIR=${HOME}/proj/install
os:
- linux
- osx
compiler:
- gcc # default 5.4 as of Sept 2019
- clang
jobs:
include:
- os: linux
dist: trusty
- os: linux
dist: xenial
- os: osx
osx_image: xcode11
# additional setup
install:
# install specific cmake version (minimum vxl requirement)
# - |
# if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
# CMAKE_URL="http://www.cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.tar.gz"
# mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
# export PATH=${DEPS_DIR}/cmake/bin:${PATH}
# fi
# before_script:
# create build & install directories if they do not exist
# - mkdir -p ${PROJ_BUILD_DIR} ${PROJ_INSTALL_DIR}
# main script
script:
- cmake --version
- ${CC} --version
- cmake .
- make
# - make install