2015-08-16 16:15:07 -05:00
|
|
|
sudo: false
|
|
|
|
language: cpp
|
2017-10-25 22:01:54 -05:00
|
|
|
|
|
|
|
cache:
|
|
|
|
ccache: true
|
|
|
|
directories:
|
|
|
|
- ~/.local-bin
|
|
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- MAKEFLAGS="-j 2"
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-08-14 14:16:02 -05:00
|
|
|
# Earliest gcc version that works
|
|
|
|
# 4.8 and 4.9 fails to compile iverilog giving:
|
|
|
|
# "undefined reference to `__warn_memset_zero_len'"
|
2017-10-26 14:07:26 -05:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2019-08-14 14:16:02 -05:00
|
|
|
- g++-5
|
2017-10-26 14:07:26 -05:00
|
|
|
- gperf
|
|
|
|
- build-essential
|
|
|
|
- bison
|
|
|
|
- flex
|
|
|
|
- libreadline-dev
|
|
|
|
- gawk
|
|
|
|
- tcl-dev
|
|
|
|
- libffi-dev
|
|
|
|
- git
|
|
|
|
- graphviz
|
|
|
|
- xdot
|
|
|
|
- pkg-config
|
|
|
|
- python
|
2019-04-03 04:18:34 -05:00
|
|
|
- python3
|
|
|
|
- libboost-system-dev
|
|
|
|
- libboost-python-dev
|
2019-04-04 02:24:50 -05:00
|
|
|
- libboost-filesystem-dev
|
2019-07-26 04:23:58 -05:00
|
|
|
- zlib1g-dev
|
2017-10-26 14:07:26 -05:00
|
|
|
env:
|
2019-08-14 14:16:02 -05:00
|
|
|
- MATRIX_EVAL="CONFIG=gcc && CC=gcc-5 && CXX=g++-5"
|
2017-10-25 22:01:54 -05:00
|
|
|
|
|
|
|
# Latest gcc supported on Travis Linux
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2019-08-14 13:26:32 -05:00
|
|
|
- g++-9
|
2017-10-25 22:01:54 -05:00
|
|
|
- gperf
|
|
|
|
- build-essential
|
|
|
|
- bison
|
|
|
|
- flex
|
|
|
|
- libreadline-dev
|
|
|
|
- gawk
|
|
|
|
- tcl-dev
|
|
|
|
- libffi-dev
|
|
|
|
- git
|
|
|
|
- graphviz
|
|
|
|
- xdot
|
|
|
|
- pkg-config
|
|
|
|
- python
|
2019-04-03 04:18:34 -05:00
|
|
|
- python3
|
|
|
|
- libboost-system-dev
|
|
|
|
- libboost-python-dev
|
2019-04-04 02:24:50 -05:00
|
|
|
- libboost-filesystem-dev
|
2019-07-26 04:23:58 -05:00
|
|
|
- zlib1g-dev
|
2017-10-25 22:01:54 -05:00
|
|
|
env:
|
2019-08-14 13:26:32 -05:00
|
|
|
- MATRIX_EVAL="CONFIG=gcc && CC=gcc-9 && CXX=g++-9"
|
2017-10-25 22:01:54 -05:00
|
|
|
|
|
|
|
# Clang which ships on Trusty Linux
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.8
|
|
|
|
packages:
|
|
|
|
- clang-3.8
|
|
|
|
- gperf
|
|
|
|
- build-essential
|
|
|
|
- bison
|
|
|
|
- flex
|
|
|
|
- libreadline-dev
|
|
|
|
- gawk
|
|
|
|
- tcl-dev
|
|
|
|
- libffi-dev
|
|
|
|
- git
|
|
|
|
- graphviz
|
|
|
|
- xdot
|
|
|
|
- pkg-config
|
|
|
|
- python
|
2019-04-03 04:18:34 -05:00
|
|
|
- python3
|
|
|
|
- libboost-system-dev
|
|
|
|
- libboost-python-dev
|
2019-04-04 02:24:50 -05:00
|
|
|
- libboost-filesystem-dev
|
2019-07-26 04:23:58 -05:00
|
|
|
- zlib1g-dev
|
2017-10-25 22:01:54 -05:00
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8"
|
|
|
|
|
|
|
|
# Latest clang supported by Travis Linux
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-08-14 13:52:08 -05:00
|
|
|
- llvm-toolchain-xenial-8
|
2017-10-25 22:01:54 -05:00
|
|
|
packages:
|
2019-08-14 14:23:15 -05:00
|
|
|
- clang-8
|
2017-10-25 22:01:54 -05:00
|
|
|
- gperf
|
|
|
|
- build-essential
|
|
|
|
- bison
|
|
|
|
- flex
|
|
|
|
- libreadline-dev
|
|
|
|
- gawk
|
|
|
|
- tcl-dev
|
|
|
|
- libffi-dev
|
|
|
|
- git
|
|
|
|
- graphviz
|
|
|
|
- xdot
|
|
|
|
- pkg-config
|
|
|
|
- python
|
2019-04-03 04:18:34 -05:00
|
|
|
- python3
|
|
|
|
- libboost-system-dev
|
|
|
|
- libboost-python-dev
|
2019-04-04 02:24:50 -05:00
|
|
|
- libboost-filesystem-dev
|
2019-07-26 04:23:58 -05:00
|
|
|
- zlib1g-dev
|
2017-10-25 22:01:54 -05:00
|
|
|
env:
|
2019-08-14 14:23:15 -05:00
|
|
|
- MATRIX_EVAL="CONFIG=clang && CC=clang-8 && CXX=clang++-8"
|
2017-10-25 22:01:54 -05:00
|
|
|
|
2019-03-02 10:29:28 -06:00
|
|
|
# # Latest clang on Mac OS X
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode9.4
|
|
|
|
# env:
|
|
|
|
# - MATRIX_EVAL="CONFIG=clang && CC=clang && CXX=clang++"
|
2017-10-25 22:01:54 -05:00
|
|
|
|
2015-08-16 16:15:07 -05:00
|
|
|
before_install:
|
2017-10-25 22:01:54 -05:00
|
|
|
- ./.travis/setup.sh
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./.travis/build-and-test.sh
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- ./.travis/deploy-after-success.sh
|