Skip to content

Commit

Permalink
Merge pull request #20 from utopia-php/fix/ci-timeout
Browse files Browse the repository at this point in the history
Update travis job to enable cares support
  • Loading branch information
christyjacob4 authored Apr 6, 2023
2 parents f0a59bf + 1efb007 commit a9d74b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ notifications:
email:
- [email protected]

before_script:
- pecl install --configureoptions 'enable-sockets="yes" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes"' swoole
before_script:
- sudo apt-get update
- sudo apt-get -y install libc-ares-dev
- pecl install --configureoptions 'enable-sockets="yes" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes"' swoole
- composer install --ignore-platform-reqs

script:
- docker-compose up -d
- vendor/bin/phpunit --configuration phpunit.xml
- vendor/bin/psalm --show-info=true
- vendor/bin/psalm --show-info=true

0 comments on commit a9d74b4

Please sign in to comment.