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