@@ -6,7 +6,7 @@ notifications:
66matrix :
77 include :
88
9- - name : " Linux GCC"
9+ - name : " Linux GCC C++11 "
1010 os : linux
1111 dist : bionic
1212 compiler : gcc
@@ -18,11 +18,49 @@ matrix:
1818 - gcc-8
1919 - g++-8
2020 before_script :
21+ - CPP_VERSION=11
22+
23+ # Install new alternatives
24+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 30
25+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 30
26+
27+ - name : " Linux GCC C++14"
28+ os : linux
29+ dist : bionic
30+ compiler : gcc
31+ addons :
32+ apt :
33+ sources :
34+ - ubuntu-toolchain-r-test
35+ packages :
36+ - gcc-8
37+ - g++-8
38+ before_script :
39+ - CPP_VERSION=14
40+
2141 # Install new alternatives
2242 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 30
2343 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 30
2444
25- - name : " Linux CLANG"
45+ - name : " Linux GCC C++17"
46+ os : linux
47+ dist : bionic
48+ compiler : gcc
49+ addons :
50+ apt :
51+ sources :
52+ - ubuntu-toolchain-r-test
53+ packages :
54+ - gcc-8
55+ - g++-8
56+ before_script :
57+ - CPP_VERSION=17
58+
59+ # Install new alternatives
60+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 30
61+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 30
62+
63+ - name : " Linux CLANG C++11"
2664 os : linux
2765 dist : bionic
2866 compiler : clang
@@ -34,10 +72,56 @@ matrix:
3472 - gcc-8
3573 - g++-8
3674 - clang-7
75+ before_script :
76+ - CPP_VERSION=11
3777
38- - name : " Windows MSVC"
78+ - name : " Linux CLANG C++14"
79+ os : linux
80+ dist : bionic
81+ compiler : clang
82+ addons :
83+ apt :
84+ sources :
85+ - ubuntu-toolchain-r-test
86+ packages :
87+ - gcc-8
88+ - g++-8
89+ - clang-7
90+ before_script :
91+ - CPP_VERSION=14
92+
93+ - name : " Linux CLANG C++17"
94+ os : linux
95+ dist : bionic
96+ compiler : clang
97+ addons :
98+ apt :
99+ sources :
100+ - ubuntu-toolchain-r-test
101+ packages :
102+ - gcc-8
103+ - g++-8
104+ - clang-7
105+ before_script :
106+ - CPP_VERSION=17
107+
108+ - name : " Windows MSVC C++11"
39109 os : windows
40110 compiler : msvc
111+ before_script :
112+ - CPP_VERSION=11
113+
114+ - name : " Windows MSVC C++14"
115+ os : windows
116+ compiler : msvc
117+ before_script :
118+ - CPP_VERSION=14
119+
120+ - name : " Windows MSVC C++17"
121+ os : windows
122+ compiler : msvc
123+ before_script :
124+ - CPP_VERSION=17
41125
42126 - name : " Linux GCC Code Coverage"
43127 os : linux
@@ -71,7 +155,7 @@ script:
71155 - cd build
72156
73157 # Generate build files
74- - cmake .. -DBITFLAGS_ENABLE_COVERAGE:BOOL=${ENABLE_COVERAGE-False}
158+ - cmake .. -DBITFLAGS_CPP_VERSION:INTEGER=${CPP_VERSION-17} - DBITFLAGS_ENABLE_COVERAGE:BOOL=${ENABLE_COVERAGE-False}
75159
76160 # Compile examples and tests
77161 # - cmake --build . --target samples
0 commit comments