File tree Expand file tree Collapse file tree 4 files changed +59
-2
lines changed Expand file tree Collapse file tree 4 files changed +59
-2
lines changed Original file line number Diff line number Diff line change 1+ language : cpp
2+
3+ os :
4+ - linux
5+ - osx
6+
7+ dist : trusty
8+
9+ addons :
10+ apt :
11+ sources :
12+ - ubuntu-toolchain-r-test
13+ - llvm-toolchain-precise-3.7
14+
15+ packages :
16+ - gcc-4.9
17+ - g++-4.9
18+ - clang-3.7
19+
20+ compiler :
21+ - gcc
22+ - clang
23+
24+ cache :
25+ directories :
26+ - ${TRAVIS_BUILD_DIR}/deps/cmake
27+
28+ install :
29+ # /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
30+ - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
31+ # /usr/bin/clang is 3.4, lets override with modern one.
32+ - if [ "$CXX" = "clang++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
33+ - echo ${PATH}
34+ - echo ${CXX}
35+ - ${CXX} --version
36+ - ${CXX} -v
37+
38+ script :
39+ # set up out-of-source build folder
40+ - rm -rf ./build || true
41+ - mkdir ./build
42+ - cd build
43+
44+ # configure
45+ - cmake ..
46+
47+ # build
48+ - cmake --build . --clean-first
49+
50+ # run automated tests
51+ - ctest -C --output-on-failure
52+
53+ notifications :
54+ email : false
55+
56+ sudo : false
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 2.8.8 )
1+ cmake_minimum_required (VERSION 2.8.12 )
22project (cmake_git_clone)
33
44include (cmake/GitUtils.cmake)
Original file line number Diff line number Diff line change 11# CMake Git Clone
2+ ![ build status] ( https://travis-ci.org/tschuchortdev/cmake_git_clone.svg?branch=master )
23
34CMake module to automatically clone git repositories during configure time.
45
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 2.8.8 )
1+ cmake_minimum_required (VERSION 2.8.7 )
22
33include (${PROJECT_SOURCE_DIR} /cmake/Utils.cmake)
44include (CMakeParseArguments)
You can’t perform that action at this time.
0 commit comments