2012-05-24 00:20:15 +00:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
2016-04-10 16:30:59 +00:00
|
|
|
- 5.5.9
|
2013-01-15 15:54:51 +00:00
|
|
|
- 5.5
|
2014-02-13 21:50:04 +00:00
|
|
|
- 5.6
|
2016-04-10 16:30:59 +00:00
|
|
|
- 7.0
|
2016-09-20 09:39:41 +00:00
|
|
|
- 7.1
|
2012-05-24 00:20:15 +00:00
|
|
|
|
2013-01-13 23:40:30 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
# Defines CODE_COVERAGE_PASSPHRASE which is the passphrase for unlocking
|
2014-01-22 02:26:42 +00:00
|
|
|
# the travis/code_coverage_id_rsa RSA private key.
|
2013-01-13 23:40:30 +00:00
|
|
|
- secure: "jtQTZKQBnzUlp/jz7NlM6470ZDnLGVAs53sgvIm4tcYqf9TWSXSXjIYvFsrS\nKPR2eyZaAevYysUkIGRFTUXTlG6tC36YngMp9+6FPxASl8mnGXsTbKcm613B\n59vD3242pgIgqhhmgFQ0c8gbvnE8PuF2aS4/hluP3r+AxhWN56E="
|
|
|
|
|
2014-08-04 11:01:36 +00:00
|
|
|
before_install: true
|
|
|
|
|
2014-08-04 10:59:53 +00:00
|
|
|
install:
|
2017-09-06 03:42:06 +00:00
|
|
|
- wget http://ftp.gnu.org/gnu/parallel/parallel-20170822.tar.bz2
|
2016-04-10 16:30:59 +00:00
|
|
|
- tar -xvjf parallel*
|
|
|
|
- cd parallel*
|
|
|
|
- ./configure
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
2014-12-09 23:47:45 +00:00
|
|
|
- eval `ssh-agent -s`
|
2014-03-03 00:43:58 +00:00
|
|
|
- travis/setup-secure-shell.sh
|
2016-09-24 16:57:59 +00: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 15:44:23 +00:00
|
|
|
- travis/setup-composer.sh
|
2013-01-12 02:03:07 +00:00
|
|
|
|
2012-05-24 00:20:15 +00:00
|
|
|
script:
|
2014-04-12 05:47:53 +00:00
|
|
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phing -f build/build.xml sniff; fi"
|
2014-03-03 01:10:01 +00:00
|
|
|
- travis/run-phpunit.sh
|
2013-01-13 23:40:30 +00:00
|
|
|
|
|
|
|
after_success:
|
2014-06-01 11:45:51 +00:00
|
|
|
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then travis/upload-code-coverage-html.sh; fi"
|