Improve travis
This commit is contained in:
+6
-12
@@ -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
|
|
||||||
Reference in New Issue
Block a user