Call "read_verilog" with -defer from "read"
[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 # Latest gcc-4.8, earliest version supported by Travis
17 - os: linux
18 addons:
19 apt:
20 packages:
21 - g++-4.8
22 - gperf
23 - build-essential
24 - bison
25 - flex
26 - libreadline-dev
27 - gawk
28 - tcl-dev
29 - libffi-dev
30 - git
31 - graphviz
32 - xdot
33 - pkg-config
34 - python
35 - python3
36 - libboost-system-dev
37 - libboost-python-dev
38 - libboost-filesystem-dev
39 - zlib1g-dev
40 env:
41 - MATRIX_EVAL="CONFIG=gcc && CC=gcc-4.8 && CXX=g++-4.8"
42
43 # Latest gcc-6 on Travis Linux
44 - os: linux
45 addons:
46 apt:
47 sources:
48 - ubuntu-toolchain-r-test
49 packages:
50 - g++-6
51 - gperf
52 - build-essential
53 - bison
54 - flex
55 - libreadline-dev
56 - gawk
57 - tcl-dev
58 - libffi-dev
59 - git
60 - graphviz
61 - xdot
62 - pkg-config
63 - python
64 - python3
65 - libboost-system-dev
66 - libboost-python-dev
67 - libboost-filesystem-dev
68 - zlib1g-dev
69 env:
70 - MATRIX_EVAL="CONFIG=gcc && CC=gcc-6 && CXX=g++-6"
71
72 # Latest gcc supported on Travis Linux
73 - os: linux
74 addons:
75 apt:
76 sources:
77 - ubuntu-toolchain-r-test
78 packages:
79 - g++-7
80 - gperf
81 - build-essential
82 - bison
83 - flex
84 - libreadline-dev
85 - gawk
86 - tcl-dev
87 - libffi-dev
88 - git
89 - graphviz
90 - xdot
91 - pkg-config
92 - python
93 - python3
94 - libboost-system-dev
95 - libboost-python-dev
96 - libboost-filesystem-dev
97 - zlib1g-dev
98 env:
99 - MATRIX_EVAL="CONFIG=gcc && CC=gcc-7 && CXX=g++-7"
100
101 # Clang which ships on Trusty Linux
102 - os: linux
103 addons:
104 apt:
105 sources:
106 - ubuntu-toolchain-r-test
107 - llvm-toolchain-precise-3.8
108 packages:
109 - clang-3.8
110 - gperf
111 - build-essential
112 - bison
113 - flex
114 - libreadline-dev
115 - gawk
116 - tcl-dev
117 - libffi-dev
118 - git
119 - graphviz
120 - xdot
121 - pkg-config
122 - python
123 - python3
124 - libboost-system-dev
125 - libboost-python-dev
126 - libboost-filesystem-dev
127 - zlib1g-dev
128 env:
129 - MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8"
130
131 # Latest clang supported by Travis Linux
132 - os: linux
133 addons:
134 apt:
135 sources:
136 - llvm-toolchain-trusty-5.0
137 packages:
138 - clang-5.0
139 - gperf
140 - build-essential
141 - bison
142 - flex
143 - libreadline-dev
144 - gawk
145 - tcl-dev
146 - libffi-dev
147 - git
148 - graphviz
149 - xdot
150 - pkg-config
151 - python
152 - python3
153 - libboost-system-dev
154 - libboost-python-dev
155 - libboost-filesystem-dev
156 - zlib1g-dev
157 env:
158 - MATRIX_EVAL="CONFIG=clang && CC=clang-5.0 && CXX=clang++-5.0"
159
160 # # Latest clang on Mac OS X
161 # - os: osx
162 # osx_image: xcode9.4
163 # env:
164 # - MATRIX_EVAL="CONFIG=clang && CC=clang && CXX=clang++"
165
166 before_install:
167 - ./.travis/setup.sh
168
169 script:
170 - ./.travis/build-and-test.sh
171
172 after_success:
173 - ./.travis/deploy-after-success.sh