Skip to content

Commit

Permalink
rpc component add travis ci config (swoft-cloud/swoft-component#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhhui authored Aug 1, 2018
1 parent 8f02304 commit fd461c6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: php

php:
- 7.0
- 7.1

install:
- wget https://github.com/swoole/swoole-src/archive/v4.0.2.tar.gz -O swoole.tar.gz
- mkdir -p swoole
- tar -xf swoole.tar.gz -C swoole --strip-components=1
- rm swoole.tar.gz
- cd swoole
- phpize
- ./configure --enable-coroutine
- make -j$(nproc)
- make install
- cd -

before_script:
- composer update

script: composer test

0 comments on commit fd461c6

Please sign in to comment.