107 lines
2.3 KiB
YAML
107 lines
2.3 KiB
YAML
language: cpp
|
|
|
|
# Currently sudo is not required, NO ENV is used
|
|
|
|
# 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
|
|
sudo: false
|
|
compiler: g++-8
|
|
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
|
|
- g++-8
|
|
- gcc-8
|
|
- g++-4.9
|
|
- gcc-4.9
|
|
- gdb
|
|
- git
|
|
- gperf
|
|
- iverilog
|
|
- 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
|
|
sudo: true
|
|
compiler: gcc-4.9 # Use clang instead of gcc in MacOS
|
|
addons:
|
|
homebrew:
|
|
packages:
|
|
- bison
|
|
- cmake
|
|
- ctags
|
|
- flex
|
|
- fontconfig
|
|
- git
|
|
- gcc@6
|
|
- gcc@4.9
|
|
- gawk
|
|
- icarus-verilog
|
|
- libxml++
|
|
- qt5
|
|
|
|
before_install:
|
|
- source .travis/common.sh
|
|
|
|
install:
|
|
- 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 -
|
|
- .travis/install.sh
|
|
|
|
script:
|
|
- .travis/script.sh
|
|
#- .travis/regression.sh
|
|
|
|
after_failure:
|
|
- .travis/after_failure.sh
|
|
|
|
after_success:
|
|
- .travis/after_success.sh
|