From b89fc78664c855a2c1c3393d8d0109efd0b55a68 Mon Sep 17 00:00:00 2001 From: CismonX Date: Mon, 8 Jun 2020 01:19:39 +0800 Subject: [PATCH] update .travis.yml --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 816adbd..985df62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)