This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/.travis.yml

32 lines
709 B
YAML

dist: bionic
group: edge
language: php
php:
- 7.1
- 7.2
- 7.3
env:
global:
- ARMA_VERSION="9.700.3"
- ARMA_SRC="http://sourceforge.net/projects/arma/files/armadillo-${ARMA_VERSION}.tar.xz"
before_install:
- sudo apt-get update -qq
- wget $ARMA_SRC -O arma_src.tar.xz
- tar -Jxvf arma_src.tar.xz
install:
- sudo apt-get install -qq build-essential cmake
- sudo apt-get install -qq libopenblas-dev liblapack-dev libarpack2-dev
- sudo apt-get install -qq libsuperlu-dev libhdf5-dev
- pushd armadillo-${ARMA_VERSION} && cmake . && make && sudo make install && popd
script:
- phpize
- ./configure --enable-arma-operators --enable-arma-pch
- make -j$(nproc)
- make test