Improve travis

This commit is contained in:
Matias De lellis
2020-04-24 11:10:33 -03:00
parent 9d351afd07
commit 16d19188c3
+6 -12
View File
@@ -10,25 +10,19 @@ php:
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4 - 7.4
env: - nightly
global:
- TODAY=`date +"%Y%m%d"`
before_install: before_install:
- sudo sh -c 'echo "deb https://repo.delellis.com.ar bionic bionic" > /etc/apt/sources.list.d/20-pdlib.list' - sudo sh -c 'echo "deb https://repo.delellis.com.ar bionic bionic" > /etc/apt/sources.list.d/20-pdlib.list'
- wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add - - wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157 - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
- sudo apt update - sudo apt update
- sudo apt-get install libdlib-dev - sudo apt-get install libdlib-dev php-bz2
- wget https://github.com/goodspb/pdlib/archive/v1.0.tar.gz
- tar -xzf v1.0.tar.gz
- pushd pdlib-1.0
- phpize - phpize
- ./configure --enable-debug && make - ./configure --enable-debug
- make
script: script:
- export TEST_PHP_EXECUTABLE=`which php`
- export NO_INTERACTION=1 - export NO_INTERACTION=1
- make test >>phpqatest.$TODAY 2>&1 - php run-tests.php -q --show-diff
after_failure:
- cat phpqatest.$TODAY