Bump to gcc-5 as `__warn_memset_zero_len' symbol not in 16.04!?!
[yosys.git] / .travis.yml
1 sudo: false
2 language: cpp
3
4 cache:
5 ccache: true
6 directories:
7 - ~/.local-bin
8
9
10 env:
11 global:
12 - MAKEFLAGS="-j 2"
13
14 matrix:
15 include:
16 # Earliest gcc version that works
17 # 4.8 and 4.9 fails to compile iverilog giving:
18 # "undefined reference to `__warn_memset_zero_len'"
19 - os: linux
20 addons:
21 apt:
22 packages:
23 - g++-5
24 - gperf
25 - build-essential
26 - bison
27 - flex
28 - libreadline-dev
29 - gawk
30 - tcl-dev
31 - libffi-dev
32 - git
33 - graphviz
34 - xdot
35 - pkg-config
36 - python
37 - python3
38 - libboost-system-dev
39 - libboost-python-dev
40 - libboost-filesystem-dev
41 - zlib1g-dev
42 env:
43 - MATRIX_EVAL="CONFIG=gcc && CC=gcc-5 && CXX=g++-5"
44
45 # Latest gcc supported on Travis Linux
46 - os: linux
47 addons:
48 apt:
49 sources:
50 - ubuntu-toolchain-r-test
51 packages:
52 - g++-9
53 - gperf
54 - build-essential
55 - bison
56 - flex
57 - libreadline-dev
58 - gawk
59 - tcl-dev
60 - libffi-dev
61 - git
62 - graphviz
63 - xdot
64 - pkg-config
65 - python
66 - python3
67 - libboost-system-dev
68 - libboost-python-dev
69 - libboost-filesystem-dev
70 - zlib1g-dev
71 env:
72 - MATRIX_EVAL="CONFIG=gcc && CC=gcc-9 && CXX=g++-9"
73
74 # Clang which ships on Trusty Linux
75 - os: linux
76 addons:
77 apt:
78 sources:
79 - ubuntu-toolchain-r-test
80 - llvm-toolchain-precise-3.8
81 packages:
82 - clang-3.8
83 - gperf
84 - build-essential
85 - bison
86 - flex
87 - libreadline-dev
88 - gawk
89 - tcl-dev
90 - libffi-dev
91 - git
92 - graphviz
93 - xdot
94 - pkg-config
95 - python
96 - python3
97 - libboost-system-dev
98 - libboost-python-dev
99 - libboost-filesystem-dev
100 - zlib1g-dev
101 env:
102 - MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8"
103
104 # Latest clang supported by Travis Linux
105 - os: linux
106 addons:
107 apt:
108 sources:
109 - llvm-toolchain-xenial-8
110 packages:
111 - clang-8.0
112 - gperf
113 - build-essential
114 - bison
115 - flex
116 - libreadline-dev
117 - gawk
118 - tcl-dev
119 - libffi-dev
120 - git
121 - graphviz
122 - xdot
123 - pkg-config
124 - python
125 - python3
126 - libboost-system-dev
127 - libboost-python-dev
128 - libboost-filesystem-dev
129 - zlib1g-dev
130 env:
131 - MATRIX_EVAL="CONFIG=clang && CC=clang-8.0 && CXX=clang++-8.0"
132
133 # # Latest clang on Mac OS X
134 # - os: osx
135 # osx_image: xcode9.4
136 # env:
137 # - MATRIX_EVAL="CONFIG=clang && CC=clang && CXX=clang++"
138
139 before_install:
140 - ./.travis/setup.sh
141
142 script:
143 - ./.travis/build-and-test.sh
144
145 after_success:
146 - ./.travis/deploy-after-success.sh