Skip to content

Commit f4280ac

Browse files
committed
Use a more reliable script to run tests on Windows
1 parent 0321e23 commit f4280ac

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ branches:
44
git:
55
depth: 10
66

7-
language: cpp
7+
language: node_js
8+
9+
node_js: 12
810

911
matrix:
1012
include:
@@ -36,4 +38,4 @@ notifications:
3638
on_success: never
3739
on_failure: change
3840

39-
script: "curl -sL https://git.io/fji1w | sh"
41+
script: curl -sL https://git.io/fji1w | sh

appveyor.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
version: "{build}"
2-
3-
platform: x64
1+
# Sane defaults for running tests only
2+
version: "{build}"
3+
platform: x64
4+
test: on
5+
build: off
6+
deploy: off
7+
skip_tags: true
48

59
branches:
610
only:
711
- master
812

9-
build_script:
10-
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/atom/ci/master/build-package.ps1"))
11-
12-
clone_depth: 10
13-
14-
skip_tags: true
15-
1613
environment:
17-
APM_TEST_PACKAGES:
14+
global:
15+
ATOM_CI_PACKAGE_ROOT: test
1816

1917
matrix:
2018
- ATOM_CHANNEL: stable
2119
- ATOM_CHANNEL: beta
2220

2321
install:
24-
- ps: Install-Product node 4
22+
- ps: Install-Product node $env:nodejs_version
2523

26-
test: off
27-
deploy: off
24+
test_script:
25+
- ps: (New-Object net.WebClient).DownloadString("https://git.io/JWdh6") | iex

0 commit comments

Comments
 (0)