Skip to content

Commit d075b51

Browse files
authored
Merge pull request #361 from edgardmessias/fix_travis
chore: Fixed matrix build in .travis.yml
2 parents 496dae2 + 42bc33f commit d075b51

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

.appveyor.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,25 @@ environment:
22
ELECTRON_NO_ATTACH_CONSOLE: 1
33
VSCODE_BUILD_VERBOSE: true
44

5+
matrix:
6+
- CODE_VERSION: "1.20.0" # Minimal Version
7+
- CODE_VERSION: "*" # Last Stable Version
8+
- CODE_VERSION: "insiders" # Insider Version
9+
510
# platform:
611
# - x86
712
# - x64
813

914
cache:
1015
- node_modules
11-
- '%LOCALAPPDATA%\Yarn\cache'
12-
- '%APPDATA%\npm-cache'
1316

1417
artifacts:
1518
- path: svn-scm.vsix
1619
name: SVN-SCM
1720

1821
install:
19-
- ps: Install-Product node 8.9.1
20-
- npm install -g npm vsce
22+
# - ps: Install-Product node 8.9.1
23+
- npm install -g vsce
2124
- node --version
2225
- npm --version
2326
- npm install
@@ -27,7 +30,6 @@ build_script:
2730
# For coverage
2831
- ps: (get-content package.json) | %{$_ -replace '"\*"',''} | set-content package.json
2932

30-
3133
test_script:
3234
- npm test --silent
3335

.travis.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,10 @@ os:
77
- linux
88
- osx
99

10-
matrix:
11-
include:
12-
- env: CODE_VERSION=1.20.0
13-
- env: CODE_VERSION=1.21.0
14-
- env: CODE_VERSION=1.22.0
15-
- env: CODE_VERSION=1.23.0
16-
- env: CODE_VERSION=1.24.0
17-
- env: CODE_VERSION=1.25.0
18-
- env: CODE_VERSION=insiders
19-
allow_failures:
20-
- env: CODE_VERSION=insiders
10+
env:
11+
- CODE_VERSION=1.20.0 # Minimal Version
12+
- CODE_VERSION=* # Last Stable Version
13+
- CODE_VERSION=insiders # Insider Version
2114

2215
cache:
2316
directories:
@@ -32,9 +25,8 @@ before_install:
3225

3326
install:
3427
- npm install
35-
#- npm run prettier
3628
- npm run vscode:prepublish
37-
# For coverage
29+
# For coverage, disable automatic start of extension
3830
- sed -i.bak 's/"\*"//g' package.json
3931

4032
script:
@@ -60,3 +52,5 @@ jobs:
6052
- npm run build
6153
- npm run semantic-release
6254
after_success: skip
55+
allow_failures:
56+
- env: CODE_VERSION=insiders

0 commit comments

Comments
 (0)