Skip to content

Commit 4e8ad74

Browse files
authored
Merge pull request #11538 from DanielRuf/tests/test-linux-macos-windows
tests: test on Linux, macOS and Windows
2 parents 86321d0 + 3f3c331 commit 4e8ad74

File tree

5 files changed

+741
-173
lines changed

5 files changed

+741
-173
lines changed

.travis.yml

+23-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
language: node_js
2+
cache: yarn
3+
4+
os:
5+
- windows
6+
- linux
7+
- osx
8+
9+
node_js:
10+
- 6
11+
- 8
12+
- 10
13+
- 11
14+
15+
env:
16+
global:
17+
- YARN_GPG=no
18+
matrix:
19+
- ZF_TRAVIS_COMMAND=test
220

321
matrix:
422
include:
5-
- node_js: "6"
6-
env: ZF_TRAVIS_COMMAND=test
7-
- node_js: "8"
8-
env: ZF_TRAVIS_COMMAND=test
9-
- node_js: "10"
10-
env: ZF_TRAVIS_COMMAND=test
11-
- node_js: "stable"
12-
env: ZF_TRAVIS_COMMAND=test
13-
- node_js: "stable"
14-
env: ZF_TRAVIS_COMMAND=test:javascript:browserstack
23+
- os: linux
24+
node_js: stable
25+
env: ZF_TRAVIS_COMMAND=test:javascript:browserstack
1526

16-
before_install: npm install -g npm@latest
17-
install: npm ci
18-
script: npm run $ZF_TRAVIS_COMMAND
27+
install: yarn
28+
script: yarn run $ZF_TRAVIS_COMMAND
1929

2030
notifications:
2131
email: false

0 commit comments

Comments
 (0)