Score
0
Watch 29 Star 226 Fork 35

GVPhyperf / hyperfPHPMIT

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Hyperf 是基于 Swoole 4.4+ 实现的高性能、高灵活性的 PHP 持久化框架 spread retract

https://hyperf.io

Clone or download
.travis.yml 1.12 KB
Copy Edit Web IDE Raw Blame History
李铭昕 authored 2019-12-04 18:49 . Added php7.4 into travis. (#1084)
language: php
sudo: required
matrix:
include:
- php: 7.2
env: SW_VERSION="4.4.12"
- php: 7.3
env: SW_VERSION="4.4.12"
- php: 7.4
env: SW_VERSION="4.4.12"
- php: master
env: SW_VERSION="4.4.12"
allow_failures:
- php: master
services:
- mysql
- redis
- docker
before_install:
- export PHP_MAJOR="$(`phpenv which php` -r 'echo phpversion();' | cut -d '.' -f 1)"
- export PHP_MINOR="$(`phpenv which php` -r 'echo phpversion();' | cut -d '.' -f 2)"
- echo $PHP_MAJOR
- echo $PHP_MINOR
install:
- cd $TRAVIS_BUILD_DIR
- bash .travis/swoole.install.sh
- phpenv config-rm xdebug.ini || echo "xdebug not available"
- phpenv config-add .travis/ci.ini
- bash .travis/setup.mysql.sh
- docker run -d --name dev-consul -e CONSUL_BIND_INTERFACE=eth0 -p 8500:8500 consul
before_script:
- cd $TRAVIS_BUILD_DIR
- composer config -g process-timeout 900 && composer update
script:
- composer analyse src/di src/json-rpc src/tracer src/metric src/redis src/nats src/db src/retry
- composer test -- --exclude-group NonCoroutine
- vendor/bin/phpunit --group NonCoroutine

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/hyperf/hyperf.git
git@gitee.com:hyperf/hyperf.git
hyperf
hyperf
hyperf
master

Help Search