Skip to content

Commit 2ed11f6

Browse files
committed
Run Windows build only once, it's too slow
1 parent e126a34 commit 2ed11f6

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

.travis.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -101,42 +101,6 @@ jobs:
101101
script:
102102
- vendor/bin/phing tests
103103
- vendor/bin/phing phpstan
104-
- stage: test
105-
os: windows
106-
language: shell # No PHP currently
107-
env: PHP_VERSION=7.2.23
108-
install:
109-
- choco install php --version=${PHP_VERSION} --package-parameters="/InstallDir:c:\tools\php"
110-
- choco install composer --ia "/DEV=C:\tools\php"
111-
- cp 'C:\tools\php\php.ini-production' 'C:\tools\php\php.ini'
112-
- echo 'memory_limit=1G' >> 'C:\tools\php\php.ini'
113-
- echo 'date.timezone="UTC"' >> 'C:\tools\php\php.ini'
114-
- echo 'extension_dir=ext' >> 'C:\tools\php\php.ini'
115-
- echo 'extension=php_curl.dll' >> 'C:\tools\php\php.ini'
116-
- echo 'extension=php_mbstring.dll' >> 'C:\tools\php\php.ini'
117-
- echo 'extension=php_openssl.dll' >> 'C:\tools\php\php.ini'
118-
- export PATH=/c/tools/php:$PATH
119-
script:
120-
- vendor/bin/phing tests
121-
- vendor/bin/phing phpstan
122-
- stage: test
123-
os: windows
124-
language: shell # No PHP currently
125-
env: PHP_VERSION=7.3.10
126-
install:
127-
- choco install php --version=${PHP_VERSION} --package-parameters="/InstallDir:c:\tools\php"
128-
- choco install composer --ia "/DEV=C:\tools\php"
129-
- cp 'C:\tools\php\php.ini-production' 'C:\tools\php\php.ini'
130-
- echo 'memory_limit=1G' >> 'C:\tools\php\php.ini'
131-
- echo 'date.timezone="UTC"' >> 'C:\tools\php\php.ini'
132-
- echo 'extension_dir=ext' >> 'C:\tools\php\php.ini'
133-
- echo 'extension=php_curl.dll' >> 'C:\tools\php\php.ini'
134-
- echo 'extension=php_mbstring.dll' >> 'C:\tools\php\php.ini'
135-
- echo 'extension=php_openssl.dll' >> 'C:\tools\php\php.ini'
136-
- export PATH=/c/tools/php:$PATH
137-
script:
138-
- vendor/bin/phing tests
139-
- vendor/bin/phing phpstan
140104

141105
cache:
142106
directories:

0 commit comments

Comments
 (0)