8000 Run tests on Windows via Travis CI · reactphp/event-loop@131d92d · GitHub
[go: up one dir, main page]

Skip to content

Commit 131d92d

Browse files
committed
Run tests on Windows via Travis CI
1 parent 858b18a commit 131d92d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,18 @@ matrix:
2828
- php: hhvm
2929
install: composer require phpunit/phpunit:^5 --dev --no-interaction
3030
before_install: [] # skip libuv
31+
- name: "Windows"
32+
os: windows
33+
language: shell # no built-in php support
34+
before_install:
35+
- choco install php
36+
- choco install composer
37+
- export PATH="$(powershell -Command '("Process", "Machine" | % { [Environment]::GetEnvironmentVariable("PATH", $_) -Split ";" -Replace "\\$", "" } | Select -Unique | % { cygpath $_ }) -Join ":"')"
38+
install:
39+
- composer install
3140
allow_failures:
3241
- php: hhvm
42+
- os: windows
3343

3444
sudo: false
3545

0 commit comments

Comments
 (0)
0