Skip to content

Commit 9cceb08

Browse files
authored
Merge pull request #71 from clue-labs/windows-tests
Run tests on Windows via Travis CI
2 parents 7d357a7 + ec12b74 commit 9cceb08

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
@@ -20,8 +20,16 @@ matrix:
2020
dist: precise
2121
- php: hhvm
2222
install: composer require phpunit/phpunit:^5 --dev --no-interaction
23+
- name: "Windows"
24+
os: windows
25+
language: shell # no built-in php support
26+
before_install:
27+
- choco install php
28+
- choco install composer
29+
- export PATH="$(powershell -Command '("Process", "Machine" | % { [Environment]::GetEnvironmentVariable("PATH", $_) -Split ";" -Replace "\\$", "" } | Select -Unique | % { cygpath $_ }) -Join ":"')"
2330
allow_failures:
2431
- php: hhvm
32+
- os: windows
2533

2634
sudo: false
2735

0 commit comments

Comments
 (0)