File tree Expand file tree Collapse file tree 1 file changed +4
-29
lines changed
Expand file tree Collapse file tree 1 file changed +4
-29
lines changed Original file line number Diff line number Diff line change 1- # Source: https://github.com/boostorg/hana/blob/master/.travis.yml
2-
1+ dist : trusty
32language : cpp
4- sudo : true
53compiler :
64 - clang
75 - gcc
86addons :
97 apt :
108 sources :
119 - ubuntu-toolchain-r-test
12- cache :
13- directories :
14- - ${TRAVIS_BUILD_DIR}/deps/cmake
15- - ${TRAVIS_BUILD_DIR}/deps/protobuf
16- install :
17- - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
18- - mkdir -p "${DEPS_DIR}" && cd "${DEPS_DIR}"
19-
20- # Install a recent version of CMake
21- - |
22- CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
23- mkdir cmake
24- travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
25- export PATH=${DEPS_DIR}/cmake/bin:${PATH}
26-
27- # Install a recent version of the Protobuf
28- - |
29- PROTOBUF_URL="https://github.com/google/protobuf/releases/download/v3.2.0/protobuf-cpp-3.2.0.tar.gz"
30- mkdir protobuf
31- travis_retry wget --no-check-certificate --quiet -O - ${PROTOBUF_URL} | tar --strip-components=1 -xz -C protobuf
32- cd protobuf
33- ./configure --prefix=/usr
34- make
35- make install
36- before_script :
37- - cd "${TRAVIS_BUILD_DIR}"
10+ package :
11+ - cmake
12+ - protobuf
3813script :
3914 - mkdir build
4015 - cd build
You can’t perform that action at this time.
0 commit comments