mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 10:15:14 +00:00
44 lines
963 B
YAML
44 lines
963 B
YAML
language: php
|
|
|
|
matrix:
|
|
include:
|
|
- php: 5.3
|
|
dist: precise
|
|
- php: 5.4
|
|
dist: trusty
|
|
- 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.4
|
|
dist: xenial
|
|
|
|
before_install: true
|
|
|
|
install:
|
|
- wget http://ftp.gnu.org/gnu/parallel/parallel-20170822.tar.bz2
|
|
- tar -xvjf parallel*
|
|
- cd parallel*
|
|
- ./configure
|
|
- make
|
|
- sudo make install
|
|
- cd ..
|
|
- eval `ssh-agent -s`
|
|
- travis/setup-secure-shell.sh
|
|
- 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:
|
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phing -f build/build.xml sniff; fi"
|
|
- travis/run-phpunit.sh
|