Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Dev #12

Merged
merged 12 commits into from
Mar 27, 2018
1 change: 0 additions & 1 deletion .coveralls.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ addons:
- libopenblas-base
dist: trusty
php:
- 7.1
- 7.2
- nightly

matrix:
fast_finish: true
allow_failures:
- php: 7.1


cache:
apt: true
Expand All @@ -30,7 +36,7 @@ before_script:

script:
- cd $TRAVIS_BUILD_DIR
- vendor/bin/phpunit $PHPUNIT_FLAGS
- vendor/bin/phpunit

after_success:
- ccache --show-stats
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phpsci/phpsci/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phpsci/phpsci/?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/phpsci/phpsci/badge.svg?branch=master)](https://coveralls.io/github/phpsci/phpsci?branch=master)

<p align="center">
<img src="https://avatars1.githubusercontent.com/u/36818275?s=400&u=db5f856095121f89938ffa637a4831f7afa09eee&v=4" />
</p>


PHPSci is a PHP Library for scientific computing powered by C. You **must** compile and install
Expand Down
2 changes: 1 addition & 1 deletion tests/LinearAlgebra/MatmulTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testMatmulSmallIdentity() {
* @author Henrique Borba <henrique.borba.dev@gmail.com>
*/
public function testMatmulBigIdentity() {
$a = ps::identity(1000);
$a = ps::identity(100);
$expected = $a->toArray();
$result = ps::matmul($a, $a)->toArray();
$this->assertEquals($expected, $result);
Expand Down