blob: ff9d167b61fc2fa41737555bab3e2dc7abe6a034 [file] [log] [blame]
Victor Zverovich100768a2014-04-14 23:18:58 -07001language: cpp
Victor Zverovich07123e82017-07-12 13:13:36 -04002dist: trusty
Elias Kosunen691a7a92018-06-06 16:57:59 +03003sudo: false
Victor Zverovich100768a2014-04-14 23:18:58 -07004
Elias Kosunen691a7a92018-06-06 16:57:59 +03005os: linux
6
7git:
8 depth: 1
9
Victor Zverovich3c1bc742014-05-19 07:53:02 -070010env:
vitaut5d570d72015-05-21 09:05:34 -070011 global:
vitaut4b6a52c2015-07-29 07:18:43 -070012 - secure: |-
Victor Zverovicha1579b02018-04-16 18:22:03 -070013 a1eovNn4uol9won7ghr67eD3/59oeESN+G9bWE+ecI1V6yRseG9whniGhIpC/YfMW/Qz5I
14 5sxSmFjaw9bxCISNwUIrL1O5x2AmRYTnFcXk4dFsUvlZg+WeF/aKyBYCNRM8C2ndbBmtAO
15 o1F2EwFbiso0EmtzhAPs19ujiVxkLn4=
vitaut4b6a52c2015-07-29 07:18:43 -070016
vitautadee0df2015-10-20 08:48:25 -070017matrix:
Park DongHaaee45122018-03-12 19:40:25 +000018 include:
Elias Kosunen691a7a92018-06-06 16:57:59 +030019 # Documentation
20 - env: BUILD=Doc
21 sudo: required
22 # g++ 6 on Linux with C++14
23 - env: COMPILER=g++-6 BUILD=Debug STANDARD=14
24 compiler: gcc
25 addons:
26 apt:
27 update: true
28 sources:
29 - ubuntu-toolchain-r-test
30 packages:
31 - g++-6
32 - env: COMPILER=g++-6 BUILD=Release STANDARD=14
33 compiler: gcc
34 addons:
35 apt:
36 update: true
37 sources:
38 - ubuntu-toolchain-r-test
39 packages:
40 - g++-6
Paul Dreik3cf12d72019-05-29 07:35:17 +020041 # g++ 8 on Linux with C++17
42 - env: COMPILER=g++-8 BUILD=Debug STANDARD=17
43 compiler: gcc
44 addons:
45 apt:
46 update: true
47 sources:
48 - ubuntu-toolchain-r-test
49 packages:
50 - g++-8
Paul Dreikad360a62019-05-29 08:02:44 +020051 - env: COMPILER=g++-8 BUILD=Release STANDARD=17
52 compiler: gcc
53 addons:
54 apt:
55 update: true
56 sources:
57 - ubuntu-toolchain-r-test
58 packages:
59 - g++-8
Paul Dreik3cf12d72019-05-29 07:35:17 +020060
Elias Kosunen691a7a92018-06-06 16:57:59 +030061 # Apple clang on OS X with C++14
62 - env: BUILD=Debug STANDARD=14
63 compiler: clang
64 os: osx
65 - env: BUILD=Release STANDARD=14
66 compiler: clang
67 os: osx
Paul Dreik9d972012019-06-30 09:11:13 +020068 # clang 6.0 on Linux with C++14 (builds the fuzzers as well)
69 - env: COMPILER=clang++-6.0 BUILD=Debug STANDARD=14 ENABLE_FUZZING=1
Elias Kosunen691a7a92018-06-06 16:57:59 +030070 compiler: clang
71 addons:
72 apt:
73 update: true
74 packages:
75 - clang-6.0
76 sources:
77 - ubuntu-toolchain-r-test
78 - llvm-toolchain-trusty
79 - llvm-toolchain-trusty-6.0
80 # clang 4.0 on Linux with C++14
81 - env: COMPILER=clang++-4.0 BUILD=Debug STANDARD=11
82 compiler: clang
83 addons:
84 apt:
85 update: true
86 packages:
87 - clang-4.0
88 sources:
89 - ubuntu-toolchain-r-test
90 - llvm-toolchain-trusty
91 - llvm-toolchain-trusty-4.0
92 # g++ 4.8 on Linux with C++11
93 - env: COMPILER=g++-4.8 BUILD=Debug STANDARD=11
94 compiler: gcc
vitautfabd3a82015-07-29 13:42:06 -070095
Elias Kosunen691a7a92018-06-06 16:57:59 +030096before_script:
97 - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi
98 - if [[ "${BUILD}" != "Doc" ]]; then ${CXX} --version; fi
Victor Zverovich3785afc2017-10-15 17:15:01 -070099
vitautadee0df2015-10-20 08:48:25 -0700100script:
101 - support/travis-build.py