-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (35 loc) · 908 Bytes
/
.travis.yml
File metadata and controls
41 lines (35 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: php
cache:
directories:
- $HOME/.composer/cache/files
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 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
- composer install -n
script:
- ./vendor/bin/phpunit --exclude-group permissions
- export phploc=~/.phpenv/versions/$(phpenv version-name)/bin/php
- sudo $phploc ./vendor/bin/phpunit --group permissions