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

33 lines
762 B
YAML
Raw Normal View History

2019-03-20 14:55:19 +00:00
dist: xenial
group: edge
language: php
php:
- 7.1
- 7.2
- 7.3
2019-03-25 07:14:53 +00:00
env:
global:
- ARMA_VERSION="9.400.3"
2019-03-25 07:14:53 +00:00
- ARMA_SRC="http://sourceforge.net/projects/arma/files/armadillo-${ARMA_VERSION}.tar.xz"
2019-03-20 14:55:19 +00:00
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
2019-03-24 08:59:29 +00:00
- wget $ARMA_SRC -O arma_src.tar.xz
- tar -Jxvf arma_src.tar.xz
2019-03-20 14:55:19 +00:00
install:
2019-03-24 08:59:29 +00:00
- sudo apt-get install -qq g++-7 cmake
2019-03-20 14:55:19 +00:00
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
2019-03-24 08:59:29 +00:00
- sudo apt-get install -qq libopenblas-dev liblapack-dev libarpack2-dev libsuperlu-dev
- pushd armadillo-${ARMA_VERSION} && cmake . && make && sudo make install && popd
2019-03-20 14:55:19 +00:00
script:
- phpize
2019-04-16 11:00:50 +00:00
- ./configure --enable-arma-operators
2019-03-20 14:55:19 +00:00
- make
- make test