Revision bb939f2d1d79850a5d093eb240f318e5afbc88c8 authored by Clément Pernet on 16 December 2021, 16:35:21 UTC, committed by Clément Pernet on 16 December 2021, 16:35:21 UTC
1 parent 497d81c
.travis.yml
language: cpp
sudo: required
matrix:
include:
- os: linux
sudo: required
dist: xenial
compiler: gcc
env: GCC_VERSION=5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- binutils
- gfortran-5
- libgmp-dev
- libgmpxx4ldbl
- libtool
- autoconf
- libopenblas-dev
- os: linux
sudo: required
dist: bionic
compiler: gcc
env: GCC_VERSION=10
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-10
- binutils
- gfortran-10
- libgmp-dev
- libgmpxx4ldbl
- libtool
- autoconf
- libopenblas-dev
# - 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-update.log 2>&1 || cat brew-update.log
- brew list automake &>/dev/null || brew install automake
- brew list autoconf &>/dev/null || brew install autoconf
- brew list libtool &>/dev/null || brew install libtool
# - brew install homebrew/science/openblas
install:
- export CC=${CC}${GCC_VERSION:+-${GCC_VERSION}}
- echo "CC=${CC}"
- export CXX=${CXX}${GCC_VERSION:+-${GCC_VERSION}}
- echo "CXX=${CXX}"
- export FC=${GCC_VERSION:+gfortran-${GCC_VERSION}}
- echo "FC=${FC}"
before_script:
- git clone --depth 1 https://github.com/linbox-team/givaro.git && cd givaro && ./autogen.sh && make && sudo make install && cd ..
- git clone --depth=1 https://github.com/xianyi/OpenBLAS.git && cd OpenBLAS && make && sudo make PREFIX="/usr/local" install && cd ..
- export LD_LIBRARY_PATH=/usr/local/lib
- ./autogen.sh
script:
- make
- make check
- make benchmarks
- make examples
- make tutorials
- make dist
after_failure:
- cat config.log
notifications:
on_success: change
on_failure: always
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...