1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00
phpseclib/.travis.yml

39 lines
1.1 KiB
YAML
Raw Normal View History

language: php
php:
- 5.3
- 5.4
2015-09-02 00:12:58 +02:00
- 5.5.9
- 5.5
2014-02-13 22:50:04 +01:00
- 5.6
- 7.0
2016-09-20 11:39:41 +02:00
- 7.1
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.
- secure: "jtQTZKQBnzUlp/jz7NlM6470ZDnLGVAs53sgvIm4tcYqf9TWSXSXjIYvFsrS\nKPR2eyZaAevYysUkIGRFTUXTlG6tC36YngMp9+6FPxASl8mnGXsTbKcm613B\n59vD3242pgIgqhhmgFQ0c8gbvnE8PuF2aS4/hluP3r+AxhWN56E="
before_install: true
install:
2015-12-07 06:30:37 +01:00
- wget http://ftp.gnu.org/gnu/parallel/parallel-20120522.tar.bz2
- tar -xvjf parallel*
- cd parallel*
- ./configure
- make
- sudo make install
- cd ..
- eval `ssh-agent -s`
- 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"
- travis/setup-composer.sh
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
after_success:
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then travis/upload-code-coverage-html.sh; fi"