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