File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,24 @@ matrix:
31
31
# - llvm-toolchain-trusty-5.0
32
32
# packages:
33
33
# - clang-5.0
34
+ - os : linux
35
+ addons :
36
+ apt :
37
+ sources :
38
+ - ubuntu-toolchain-r-test
39
+ packages :
40
+ - g++-7
41
+ env :
42
+ - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" BUILD_TYPE=cmake ZMQ_VERSION=4.2.5
34
43
35
44
sudo : required
36
45
37
46
before_install :
38
47
- pip install --user cpp-coveralls
39
48
40
49
# Build and check this project according to the BUILD_TYPE
41
- script :
50
+ script :
51
+ - eval "${MATRIX_EVAL}"
42
52
- ./ci_build.sh
43
53
44
54
after_success :
Original file line number Diff line number Diff line change @@ -7,3 +7,10 @@ TEST(socket, create_destroy)
7
7
zmq::socket_t socket (context, ZMQ_ROUTER);
8
8
}
9
9
10
+ #ifdef ZMQ_CPP11
11
+ TEST (socket, create_by_enum_destroy)
12
+ {
13
+ zmq::context_t context;
14
+ zmq::socket_t socket (context, zmq::socket_type::router);
15
+ }
16
+ #endif
You can’t perform that action at this time.
0 commit comments