2018-12-14 15:05:31 -06:00
|
|
|
language: cpp
|
|
|
|
|
2019-04-09 22:51:12 -05:00
|
|
|
# Currently sudo is not required, NO ENV is used
|
2018-12-14 15:05:31 -06:00
|
|
|
|
2019-04-09 22:51:12 -05:00
|
|
|
# Supported Operating systems
|
|
|
|
#os:
|
|
|
|
# - linux
|
|
|
|
# - osx
|
|
|
|
# Create a matrix to branch the building environment
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
|
|
|
#dist: trusty
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
# Compiler is specified in ./travis/common.sh
|
2019-04-10 02:29:39 -05:00
|
|
|
sudo: false
|
2019-06-07 23:38:21 -05:00
|
|
|
compiler: g++-8
|
2019-04-09 22:51:12 -05:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test # For newer GCC
|
|
|
|
- george-edison55-precise-backports # For cmake
|
|
|
|
packages:
|
|
|
|
- autoconf
|
|
|
|
- automake
|
|
|
|
- bash
|
|
|
|
- bison
|
|
|
|
- build-essential
|
|
|
|
- cmake
|
|
|
|
- ctags
|
|
|
|
- curl
|
|
|
|
- doxygen
|
|
|
|
- flex
|
|
|
|
- fontconfig
|
2019-06-07 23:38:21 -05:00
|
|
|
- g++-8
|
|
|
|
- gcc-8
|
2019-04-09 22:51:12 -05:00
|
|
|
- g++-4.9
|
|
|
|
- gcc-4.9
|
|
|
|
- gdb
|
|
|
|
- git
|
|
|
|
- gperf
|
2019-05-15 16:57:05 -05:00
|
|
|
- iverilog
|
2019-04-09 22:51:12 -05:00
|
|
|
- libcairo2-dev
|
|
|
|
- libevent-dev
|
|
|
|
- libfontconfig1-dev
|
|
|
|
- liblist-moreutils-perl
|
|
|
|
- libncurses5-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libxft-dev
|
|
|
|
- libxml++2.6-dev
|
|
|
|
- perl
|
|
|
|
- python
|
|
|
|
- texinfo
|
|
|
|
- time
|
|
|
|
- valgrind
|
|
|
|
- zip
|
|
|
|
- qt5-default
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode10.2 # we target latest MacOS Mojave
|
2019-04-10 02:29:39 -05:00
|
|
|
sudo: true
|
2019-04-10 02:22:20 -05:00
|
|
|
compiler: gcc-4.9 # Use clang instead of gcc in MacOS
|
2019-04-09 22:51:12 -05:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- bison
|
|
|
|
- cmake
|
|
|
|
- ctags
|
|
|
|
- flex
|
|
|
|
- fontconfig
|
|
|
|
- git
|
|
|
|
- gcc@6
|
|
|
|
- gcc@4.9
|
2019-05-04 00:43:46 -05:00
|
|
|
- gawk
|
2019-06-07 23:19:11 -05:00
|
|
|
- icarus-verilog
|
2019-04-09 22:51:12 -05:00
|
|
|
- libxml++
|
|
|
|
- qt5
|
2018-12-14 15:05:31 -06:00
|
|
|
|
|
|
|
before_install:
|
2019-04-10 02:22:20 -05:00
|
|
|
- source .travis/common.sh
|
2018-12-14 15:05:31 -06:00
|
|
|
|
|
|
|
install:
|
2019-06-03 15:53:52 -05:00
|
|
|
- DEPS_DIR="${HOME}/deps"
|
|
|
|
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
|
|
|
|
- |
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
|
|
|
CMAKE_URL="https://cmake.org/files/v3.13/cmake-3.13.0-rc3-Linux-x86_64.tar.gz"
|
|
|
|
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
|
|
|
|
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
|
|
|
|
echo ${PATH}
|
|
|
|
else
|
|
|
|
brew install cmake || brew upgrade cmake
|
|
|
|
fi
|
|
|
|
- cmake --version
|
|
|
|
- cd -
|
2019-04-10 02:34:39 -05:00
|
|
|
- .travis/install.sh
|
2018-12-14 15:05:31 -06:00
|
|
|
|
2019-04-10 02:22:20 -05:00
|
|
|
script:
|
2019-04-10 02:34:39 -05:00
|
|
|
- .travis/script.sh
|
2019-05-16 10:48:06 -05:00
|
|
|
#- .travis/regression.sh
|
2018-12-14 15:05:31 -06:00
|
|
|
|
|
|
|
after_failure:
|
2019-04-10 03:00:03 -05:00
|
|
|
- .travis/after_failure.sh
|
2018-12-14 15:05:31 -06:00
|
|
|
|
|
|
|
after_success:
|
2019-04-10 03:00:03 -05:00
|
|
|
- .travis/after_success.sh
|