Skip to content

Commit

Permalink
chore(e2e): move unit test from AppVeyor Windows to Travis Windows (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Feb 14, 2020
1 parent ea92f72 commit bf2461d
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 122 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ language: node_js

jobs:
include:
- os: windows
node_js: 8
env: TS_JEST_E2E_WORKDIR=\%APPDATA%\ts-jest-e2e-workdir TS_JEST_E2E_OPTIMIZATIONS=1
cache:
npm: true
directories:
- .cache
- \%APPDATA%\ts-jest-e2e-workdir\__templates__
script:
- npm run clean -- --when-ci-commit-message
- npm run test:unit -- --runInBand
- os: windows
node_js: 12
env: TS_JEST_E2E_WORKDIR=\%APPDATA%\ts-jest-e2e-workdir TS_JEST_E2E_OPTIMIZATIONS=1
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cache:

# Post-install test scripts.
test_script:
- cmd: npm run test -- --runInBand
- cmd: npm run test:e2e

# skip_commits:
# files:
Expand Down
173 changes: 53 additions & 120 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"eslint": "latest",
"fs-extra": "latest",
"glob-gitignore": "latest",
"husky": "4.x",
"husky": "3.x",
"jest": "25.x",
"js-yaml": "latest",
"lint-staged": "latest",
Expand Down

0 comments on commit bf2461d

Please sign in to comment.