File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -109,5 +109,4 @@ matrix:
109
109
# Build and check this project
110
110
script :
111
111
- eval "${MATRIX_EVAL}"
112
- - cmake --version
113
112
- ./ci_build.sh
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ CPPZMQ=${PWD}/cppzmq-build
12
12
# Travis machines have 2 cores
13
13
JOBS=2
14
14
15
+ cmake_install () {
16
+ wget -qO- " https://cmake.org/files/v3.20/cmake-3.20.5-linux-x86_64.tar.gz" \
17
+ | tar --strip-components=1 -xz -C /tmp/cmake.root
18
+ export PATH=/tmp/cmake.root/bin:$PATH
19
+ cmake --version
20
+ }
21
+
15
22
libzmq_install () {
16
23
curl -L https://github.com/zeromq/libzmq/archive/v" ${ZMQ_VERSION} " .tar.gz \
17
24
> zeromq.tar.gz
@@ -62,6 +69,8 @@ cppzmq_demo() {
62
69
popd
63
70
}
64
71
72
+ cmake_install
73
+
65
74
if [ " ${ZMQ_VERSION} " != " " ] ; then libzmq_install ; fi
66
75
67
76
cppzmq_build
You can’t perform that action at this time.
0 commit comments