mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-05 13:07:53 +00:00
25 lines
811 B
YAML
25 lines
811 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.2
|
|
- 5.3.3
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
|
|
env:
|
|
global:
|
|
# Defines CODE_COVERAGE_PASSPHRASE which is the passphrase for unlocking
|
|
# the tests/code_coverage_id_rsa RSA private key.
|
|
- secure: "jtQTZKQBnzUlp/jz7NlM6470ZDnLGVAs53sgvIm4tcYqf9TWSXSXjIYvFsrS\nKPR2eyZaAevYysUkIGRFTUXTlG6tC36YngMp9+6FPxASl8mnGXsTbKcm613B\n59vD3242pgIgqhhmgFQ0c8gbvnE8PuF2aS4/hluP3r+AxhWN56E="
|
|
|
|
before_script:
|
|
- git clone git://github.com/zenovich/runkit.git && cd runkit && phpize && ./configure && make && make install && cd ..
|
|
- echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
|
|
|
script:
|
|
- phpunit --verbose --coverage-text --coverage-html code_coverage/
|
|
|
|
after_success:
|
|
- sh -c "if $TRAVIS_SECURE_ENV_VARS; then tests/code_coverage_upload.sh; fi"
|