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
WyriHaximus committed Apr 29, 2020
1 parent 6eeb3f7 commit 0a8e671
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,22 @@ php:
- nightly

matrix:
include:
- 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 ":"')"
install:
- composer install -n

allow_failures:
- php: 5.4
- php: 7.1
- php: nightly
- os: windows

install:
- ./travis-init.sh
Expand Down

0 comments on commit 0a8e671

Please sign in to comment.