This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
forked from civetweb/civetweb
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
822 lines (776 loc) · 20.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
##############################################################################
# Project specific settings
##############################################################################
language: c
cache:
directories:
- $HOME/third-party
osx_image: xcode8
addons:
apt:
packages:
- cmake
- openssl
- libssl-dev
sources:
- kubuntu-backports
before_install:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
mkdir $HOME/usr;
export PATH="$HOME/usr/bin:$PATH";
wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh --no-check-certificate;
chmod +x cmake-3.7.2-Linux-x86_64.sh;
./cmake-3.7.2-Linux-x86_64.sh --prefix=$HOME/usr --exclude-subdir --skip-license;
fi
- cmake --version
install:
- if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
PATH=~/.local/bin:${PATH};
pip install --user --upgrade pip;
pip install --user cpp-coveralls;
fi
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${ENABLE_IPV6}" == "YES" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
echo "Activating IPv6 on Travis";
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
# Check some settings of the build server (operating system, IPv6 availability, directory)
- uname -a
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
lsb_release -a;
cat /etc/network/interfaces;
fi
- ifconfig
- pwd
- ls -la
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
apt-cache search gcc | grep "GNU C compiler";
apt-cache search clang | grep compiler;
fi
- if [[ "${BUILD_TYPE}" == "OSX_OPENSSL_1_1" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install [email protected] ;fi
# Generate the build scripts with CMake
- mkdir output
- gcc unittest/cgi_test.c -o output/cgi_test.cgi
- cd output
- cmake --version
- cmake
-G "Unix Makefiles"
-DCMAKE_BUILD_TYPE=${BUILD_TYPE}
-DBUILD_SHARED_LIBS=${BUILD_SHARED}
"-DCIVETWEB_THIRD_PARTY_DIR=${HOME}/third-party"
-DCIVETWEB_ENABLE_THIRD_PARTY_OUTPUT=YES
-DCIVETWEB_ENABLE_SSL=${ENABLE_SSL}
-DCIVETWEB_DISABLE_CGI=${NO_CGI}
-DCIVETWEB_SERVE_NO_FILES=${NO_FILES}
-DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=${ENABLE_SSL_DYNAMIC_LOADING}
-DCIVETWEB_SSL_OPENSSL_API_1_1=${OPENSSL_1_1}
-DCIVETWEB_ENABLE_WEBSOCKETS=${ENABLE_WEBSOCKETS}
-DCIVETWEB_ENABLE_CXX=${ENABLE_CXX}
-DCIVETWEB_ENABLE_SERVER_STATS=${ENABLE_SERVER_STATS}
-DCIVETWEB_ENABLE_LUA=${ENABLE_LUA}
-DCIVETWEB_ENABLE_LUA_SHARED=${ENABLE_LUA_SHARED}
-DCIVETWEB_ENABLE_DUKTAPE=${ENABLE_DUKTAPE}
-DCIVETWEB_DISABLE_CACHING=${NO_CACHING}
-DCIVETWEB_C_STANDARD=${C_STANDARD}
-DCIVETWEB_CXX_STANDARD=${CXX_STANDARD}
-DCIVETWEB_ALLOW_WARNINGS=${ALLOW_WARNINGS}
-DCIVETWEB_ENABLE_IPV6=${ENABLE_IPV6}
${ADDITIONAL_CMAKE_ARGS}
..
- ls -la
# Modifications due to Travis IPv6 issues:
# https://github.com/travis-ci/travis-ci/issues/8711
# https://github.com/travis-ci/travis-ci/issues/8361
# DCIVETWEB_ENABLE_IPV6=${ENABLE_IPV6} or =NO
script:
- if [ "${MACOSX_PACKAGE}" == "1" ]; then
cd "${TRAVIS_BUILD_DIR}";
make -f Makefile.osx package;
else
CTEST_OUTPUT_ON_FAILURE=1 make all test;
fi
- pwd
- ls -la unittest
- echo "Show all test logs:"
- if [ "${MACOSX_PACKAGE}" != "1" ]; then
for f in unittest/test-*.log; do printf "\n$f:\n"; cat $f; done;
for f in unittest/test-*.xml; do printf "\n$f:\n"; cat $f; done;
fi
- echo "Build and test script DONE"
# Coveralls options: https://github.com/eddyxu/cpp-coveralls/blob/master/README.md
after_success:
- if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
coveralls --include src --exclude src/main.c --exclude src/third_party --include include --gcov-options '\-lp' --root .. --build-root .;
bash <(curl -s https://codecov.io/bash);
fi
conan-linux: &conan-linux
os: linux
dist: xenial
language: python
python: "3.7"
services:
- docker
if: tag IS present
before_install:
- true
install:
- ./conan/travis/install.sh
before_script:
- true
script:
- ./conan/travis/build.sh
after_success:
- true
conan-osx: &conan-osx
os: osx
language: generic
if: tag IS present
before_install:
- true
install:
- ./conan/travis/install.sh
before_script:
- true
script:
- ./conan/travis/build.sh
after_success:
- true
##############################################################################
# build matrix
##############################################################################
matrix:
fast_finish: false
include:
- dist: trusty
sudo: false
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env:
idx=1
N=Clang3.8-Linux-Minimal-Debug
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
BUILD_TYPE=Debug
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=YES
ENABLE_SSL=NO
NO_CGI=YES
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_SERVER_STATS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
- dist: trusty
sudo: false
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env:
idx=2
N=Clang3.8-Linux-Default-Release
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_SERVER_STATS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
- dist: trusty
sudo: false
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env:
idx=3
N=Clang3.8-Linux-Default-Release
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_SERVER_STATS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
- dist: trusty
sudo: required
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
env:
idx=4
N=Clang3.8-Linux-Complete-NoLua-Release
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=YES
ALLOW_WARNINGS=YES
- dist: trusty
sudo: required
os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
idx=5
N=GCC5-Linux-Complete-NoLua-Release
MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=YES
ALLOW_WARNINGS=YES
- os: linux
sudo: required
compiler: gcc
env:
idx=6
N=GCCAnyVersion-Linux-Coverage
BUILD_TYPE=Coverage
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
- os: osx
sudo: required
compiler: clang
env:
idx=7
N=Clang-OSX-Complete-NoLua-Release
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=YES
ALLOW_WARNINGS=YES
-
os: osx
sudo: required
compiler: clang
env:
idx=8
N=Clang-OSX-Complete-NoLua-Release-OpenSSL_1_1_NoDynLoad
BUILD_TYPE=OSX_OPENSSL_1_1
ENABLE_SSL_DYNAMIC_LOADING=NO
OPENSSL_1_1=YES
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=YES
ALLOW_WARNINGS=YES
OPENSSL_ROOT_DIR="/usr/local/opt/[email protected]"
LDFLAGS="-L${OPENSSL_ROOT_DIR}/lib"
CFLAGS="-I${OPENSSL_ROOT_DIR}/include"
ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DCMAKE_C_FLAGS=${CFLAGS}"
PATH="${OPENSSL_ROOT_DIR}/bin:$PATH"
DYLD_LIBRARY_PATH="${OPENSSL_ROOT_DIR}/lib:${DYLD_LIBRARY_PATH}"
- dist: trusty
sudo: false
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
env:
idx=9
N=Clang50-Linux-Default-Shared
BUILD_TYPE=Debug
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=YES
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_SERVER_STATS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
-
os: linux
dist: precise
sudo: required
compiler: clang
env:
idx=10
N=Precise-Clang-Linux-Default
BUILD_TYPE=Debug
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_SERVER_STATS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
-
os: osx
sudo: required
compiler: clang
env:
idx=11
N=OSX-Package
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
MACOSX_PACKAGE=1
- dist: trusty
sudo: required
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-3.8
packages:
- clang-3.8
env:
idx=12
N=Clang-Linux-32bit-Complete-NoLua-Release
ARCH=x86
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=YES
ALLOW_WARNINGS=YES
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
### Test all build types:
# According to CMakeLists, options are:
# None Debug Release RelWithDebInfo MinSizeRel Coverage
-
os: linux
sudo: required
compiler: clang
env:
idx=13
N=NoSslDynamicLoading
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=NO
OPENSSL_1_1=NO
ENABLE_CXX=NO
C_STANDARD=auto
CXX_STANDARD=auto
ENABLE_LUA_SHARED=NO
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
-
os: linux
compiler: gcc
env:
idx=14
N=GCCLinuxDefault_Debug
BUILD_TYPE=Debug
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
-
os: linux
compiler: gcc
env:
idx=15
N=GCCLinuxDefault_RelWithDebInfo
BUILD_TYPE=RelWithDebInfo
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
-
os: linux
compiler: gcc
env:
idx=16
N=GCCLinuxDefault_MinSizeRel
BUILD_TYPE=MinSizeRel
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
-
os: linux
compiler: gcc
env:
idx=17
N=GCCLinuxDefault_None
BUILD_TYPE=None
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
-
os: linux
compiler: clang
env:
idx=18
N=Clang3.8-Linux-Complete-NoLua-Debug
MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
BUILD_TYPE=Debug
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=YES
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=YES
ALLOW_WARNINGS=YES
- dist: trusty
sudo: false
os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
env:
idx=19
N=Clang5.0-Linux-Complete-CXX-NoLua-Release
MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=YES
ENABLE_LUA_SHARED=YES
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=YES
ENABLE_WEBSOCKETS=YES
ENABLE_SERVER_STATS=YES
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
-
os: linux
compiler: gcc
dist: xenial
env:
idx=20
N=GCCLinuxDefault_xenial
BUILD_TYPE=Release
ENABLE_SSL_DYNAMIC_LOADING=YES
OPENSSL_1_1=NO
ENABLE_CXX=NO
ENABLE_LUA_SHARED=NO
C_STANDARD=auto
CXX_STANDARD=auto
BUILD_SHARED=NO
NO_FILES=NO
ENABLE_SSL=YES
NO_CGI=NO
ENABLE_IPV6=NO
ENABLE_WEBSOCKETS=NO
ENABLE_LUA=NO
ENABLE_DUKTAPE=NO
NO_CACHING=NO
ALLOW_WARNINGS=YES
- <<: *conan-linux
env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=conanio/gcc49 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=conanio/gcc5 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=conanio/gcc6 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=conanio/gcc7 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=conanio/clang39 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=conanio/clang40 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_CLANG_VERSIONS=5.0 CONAN_DOCKER_IMAGE=conanio/clang50 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-linux
env: CONAN_CLANG_VERSIONS=6.0 CONAN_DOCKER_IMAGE=conanio/clang60 CONAN_DOCKER_32_IMAGES=1
- <<: *conan-osx
osx_image: xcode8.3
env: CONAN_APPLE_CLANG_VERSIONS=8.1
- <<: *conan-osx
osx_image: xcode9
env: CONAN_APPLE_CLANG_VERSIONS=9.0
- <<: *conan-osx
osx_image: xcode9.4
env: CONAN_APPLE_CLANG_VERSIONS=9.1
- <<: *conan-osx
osx_image: xcode10.1
env: CONAN_APPLE_CLANG_VERSIONS=10.0
# Remove Lua build, until someone knows how to fix the CMake files
#
# - dist: trusty
# sudo: required
# os: linux
# compiler: clang
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - llvm-toolchain-precise-3.8
# packages:
# - clang-3.8
# - lua5.2
# env:
# idx=21
# N=Clang3.8-Linux-Complete-WithLua-Debug
# MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
# BUILD_TYPE=Debug
# ENABLE_SSL_DYNAMIC_LOADING=YES
# OPENSSL_1_1=NO
# ENABLE_CXX=NO
# ENABLE_LUA_SHARED=YES
# C_STANDARD=auto
# CXX_STANDARD=auto
# BUILD_SHARED=NO
# NO_FILES=NO
# ENABLE_SSL=YES
# NO_CGI=NO
# ENABLE_IPV6=YES
# ENABLE_WEBSOCKETS=YES
# ENABLE_SERVER_STATS=YES
# ENABLE_LUA=YES
# ENABLE_DUKTAPE=NO
# NO_CACHING=YES
# ALLOW_WARNINGS=YES