bc07c741e326d6631dc5d2a0ce0ecc41aabb5e89
[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.9
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.9 && CXX=g++-4.9"
41
42 # Latest gcc supported on Travis Linux
43 - os: linux
44 addons:
45 apt:
46 sources:
47 - ubuntu-toolchain-r-test
48 packages:
49 - g++-9
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-9 && CXX=g++-9"
69
70 # Clang which ships on Trusty Linux
71 - os: linux
72 addons:
73 apt:
74 sources:
75 - ubuntu-toolchain-r-test
76 - llvm-toolchain-precise-3.8
77 packages:
78 - clang-3.8
79 - gperf
80 - build-essential
81 - bison
82 - flex
83 - libreadline-dev
84 - gawk
85 - tcl-dev
86 - libffi-dev
87 - git
88 - graphviz
89 - xdot
90 - pkg-config
91 - python
92 - python3
93 - libboost-system-dev
94 - libboost-python-dev
95 - libboost-filesystem-dev
96 env:
97 - MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8"
98
99 # Latest clang supported by Travis Linux
100 - os: linux
101 addons:
102 apt:
103 sources:
104 - llvm-toolchain-xenial-8
105 packages:
106 - clang-8.0
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-8.0 && CXX=clang++-8.0"
126
127 # # Latest clang on Mac OS X
128 # - os: osx
129 # osx_image: xcode9.4
130 # env:
131 # - MATRIX_EVAL="CONFIG=clang && CC=clang && CXX=clang++"
132
133 before_install:
134 - ./.travis/setup.sh
135
136 script:
137 - ./.travis/build-and-test.sh
138
139 after_success:
140 - ./.travis/deploy-after-success.sh