Skip to content

Commit b23c688

Browse files
committed
Run tests on Windows via Travis CI
Refs reactphp/child-process#71
1 parent 3e1032e commit b23c688

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@ matrix:
1717
include:
1818
- php: hhvm
1919
install: composer require phpunit/phpunit:^5 --dev --no-interaction
20+
- name: "Windows"
21+
os: windows
22+
language: shell # no built-in php support
23+
before_install:
24+
- choco install php
25+
- choco install composer
26+
- export PATH="$(powershell -Command '("Process", "Machine" | % { [Environment]::GetEnvironmentVariable("PATH", $_) -Split ";" -Replace "\\$", "" } | Select -Unique | % { cygpath $_ }) -Join ":"')"
2027
allow_failures:
2128
- php: hhvm
29+
- os: windows
2230

2331
install:
2432
- composer install --no-interaction

0 commit comments

Comments
 (0)