2012-05-24 02:20:15 +02:00
|
|
|
language: php
|
|
|
|
|
2019-08-03 17:33:13 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.2
|
|
|
|
dist: precise
|
|
|
|
- php: 5.3
|
|
|
|
dist: precise
|
|
|
|
- php: 5.4
|
|
|
|
dist: precise
|
|
|
|
- php: 5.5.9
|
|
|
|
dist: trusty
|
|
|
|
- php: 5.5
|
|
|
|
dist: trusty
|
|
|
|
- php: 5.6
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.0
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.1
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.2
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.3
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.4snapshot
|
|
|
|
dist: xenial
|
2012-05-24 02:20:15 +02:00
|
|
|
|
2013-01-14 00:40:30 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
# Defines CODE_COVERAGE_PASSPHRASE which is the passphrase for unlocking
|
2014-01-22 03:26:42 +01:00
|
|
|
# the travis/code_coverage_id_rsa RSA private key.
|
2013-01-14 00:40:30 +01:00
|
|
|
- secure: "jtQTZKQBnzUlp/jz7NlM6470ZDnLGVAs53sgvIm4tcYqf9TWSXSXjIYvFsrS\nKPR2eyZaAevYysUkIGRFTUXTlG6tC36YngMp9+6FPxASl8mnGXsTbKcm613B\n59vD3242pgIgqhhmgFQ0c8gbvnE8PuF2aS4/hluP3r+AxhWN56E="
|
|
|
|
|
2014-08-04 13:01:36 +02:00
|
|
|
before_install: true
|
|
|
|
|
2014-08-04 12:59:53 +02:00
|
|
|
install:
|
2017-09-06 05:42:06 +02:00
|
|
|
- wget http://ftp.gnu.org/gnu/parallel/parallel-20170822.tar.bz2
|
2015-12-07 06:30:37 +01:00
|
|
|
- tar -xvjf parallel*
|
|
|
|
- cd parallel*
|
|
|
|
- ./configure
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
2014-12-10 00:47:45 +01:00
|
|
|
- eval `ssh-agent -s`
|
2014-03-03 01:43:58 +01:00
|
|
|
- travis/setup-secure-shell.sh
|
2016-09-24 18:57:59 +02:00
|
|
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' -a `php -r "echo (int) version_compare(PHP_VERSION, '7.0', '<');"` = "1" ]; then travis/install-php-extensions.sh; fi"
|
2015-02-07 16:44:23 +01:00
|
|
|
- travis/setup-composer.sh
|
2013-01-12 03:03:07 +01:00
|
|
|
|
2012-05-24 02:20:15 +02:00
|
|
|
script:
|
2014-04-12 07:47:53 +02:00
|
|
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phing -f build/build.xml sniff; fi"
|
2014-03-03 02:10:01 +01:00
|
|
|
- travis/run-phpunit.sh
|
2013-01-14 00:40:30 +01:00
|
|
|
|
|
|
|
after_success:
|
2014-06-01 13:45:51 +02:00
|
|
|
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then travis/upload-code-coverage-html.sh; fi"
|