update .travis.yml
This commit is contained in:
parent
b82eed35d6
commit
b89fc78664
|
@ -11,7 +11,7 @@ php:
|
|||
|
||||
env:
|
||||
global:
|
||||
- ARMA_VERSION="9.850.1"
|
||||
- ARMA_VERSION="9.880.1"
|
||||
- ARMA_SRC="http://sourceforge.net/projects/arma/files/armadillo-${ARMA_VERSION}.tar.xz"
|
||||
|
||||
before_install:
|
||||
|
@ -33,7 +33,8 @@ script:
|
|||
- ./configure --enable-arma-operators --enable-arma-pch
|
||||
- make -j$(nproc) EXTRA_CXXFLAGS='--coverage' EXTRA_LDFLAGS='-fprofile-arcs'
|
||||
- make test
|
||||
- gcov --object-directory=src/.libs src/*.cc
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
- php-config -v | grep 7.4 # Run coverage on PHP 7.4 only
|
||||
- test $? = 0 && gcov --object-directory=src/.libs src/*.cc
|
||||
- test $? = 0 && bash <(curl -s https://codecov.io/bash)
|
||||
|
|
Reference in New Issue