Skip to content

Commit

Permalink
Run tests on Windows via Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Apr 29, 2019
1 parent 3e1032e commit b23c688
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b23c688

Please sign in to comment.