From b23c688a6a183f8bf2d3674c475f7ce260c9e18e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Mon, 29 Apr 2019 14:26:01 +0200 Subject: [PATCH] Run tests on Windows via Travis CI Refs https://github.com/reactphp/child-process/pull/71 --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 06d52eb..d0a9e40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,16 @@ matrix: include: - php: hhvm install: composer require phpunit/phpunit:^5 --dev --no-interaction + - name: "Windows" + os: windows + language: shell # no built-in php support + before_install: + - choco install php + - choco install composer + - export PATH="$(powershell -Command '("Process", "Machine" | % { [Environment]::GetEnvironmentVariable("PATH", $_) -Split ";" -Replace "\\$", "" } | Select -Unique | % { cygpath $_ }) -Join ":"')" allow_failures: - php: hhvm + - os: windows install: - composer install --no-interaction