swh:1:snp:da818bf8900aa772999896546db83b8e9cbe9f6f
Tip revision: 5a63bd17a83030740eb27a980fe14a7a37f47efe authored by Software Heritage on 11 June 2019, 08:09:30 UTC
hal: Deposit 296 in collection hal
hal: Deposit 296 in collection hal
Tip revision: 5a63bd1
.travis.yml
language: cpp
sudo: required
matrix:
include:
- os: linux
sudo: required
dist: trusty
compiler: gcc
env: GCC_VERSION=4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- libgmp-dev
- libgmpxx4ldbl
- os: linux
sudo: required
dist: trusty
compiler: gcc
env: GCC_VERSION=5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- libgmp-dev
- libgmpxx4ldbl
- os: linux
sudo: required
dist: trusty
compiler: gcc
env: GCC_VERSION=6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- libgmp-dev
- libgmpxx4ldbl
# - os: linux
# sudo: required
# dist: trusty
# compiler: clang
# env: COMPILER=clang++
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - libgmp-dev
# - libgmpxx4ldbl
# before_install:
# - sudo add-apt-repository 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main'
# - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
# - sudo apt-get update -qq
# - sudo apt-get install -qq -y clang-format-3.9
- os: osx
compiler: clang
before_install:
- brew update
- brew uninstall automake && brew install automake
- brew install autoconf libtool
install:
- export CC=${CC}${GCC_VERSION:+-${GCC_VERSION}}
- echo "CC=${CC}"
- export CXX=${CXX}${GCC_VERSION:+-${GCC_VERSION}}
- echo "CXX=${CXX}"
before_script:
- ./autogen.sh
script:
- make
- make check
- make benchmarks
- make examples
- make dist
after_failure:
- cat config.log
notifications:
on_success: change
on_failure: always