forked from matepek/vscode-catch2-test-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
73 lines (61 loc) · 4.16 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
env:
global:
- C2_DEBUG=true
# VSCE_PAT
- secure: 'fYpe8D+dLl2mVkdwgE8X8j5XpGGp9A04oHDkrkZQpgHWXG7UCbrQwtCwIVVWEZUUls0JpGLP9A4/cmICAkHvzuVxvrF/43/T3qcW2an2+U/SzcYtN4wEqqgZNJl3MqSMeTHOVWHrlft/MQj6Y421GkX3sqkSi2Z2XVkPHolHuwu0ybfFzRlw1OVLVF4RjSsS77DDMFfcpUymMXgHV7MefSyznprpLxNk3M1MXKkelLd8KRorlnvX5VEGWrddmxKmOztTyCPHfs4pRUbP33yLj+qL3ASDtwQJUIZbHHqvFv6t3EOY4SjWRbeBjON2LfE07LPzI4q8224D9PlTIi6x1rK8oNRnceuzJ1AJ3JAWVeUqAvI415fuewaXUvmXUBQNLCvpt+ecLIqzkV3bbbO2+SLycVamSLIrh6v9BHiocD+Q25M8nhg1nHnpmV7gUBFhg3BzW7xApL6p8AosAl6DY73ePV4fHfuu7+8jvZusrSjCCfQztbFP2E5oJ/XAuj7WusUR4co28+vuLe0hubX3ZPXz3O8O0RsUSf8zRfyxaV/cwIe1iJIdc4m9Bz4iZR+AJQ5rFzfgsYjN8lTTra46SKsTmEjToCjGDR89FjO0w2xGBIH1xI7m7EZhDqgsBK7JFw6Vb2qNGHMTt20R+hh8YK3uaUxyjfcqbrRiADJSH9I='
# GITHUB_API_KEY
- secure: 'EKVdnikYRiL/f07epf3IPinU9ckWXHXxQrkam23ZviPf/L5brYu+BPOm4oWLjv8ekwDIDan7A+y4Nzck7h5JDXxLcHcbsZIU6Fg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Plv1/pE1HXb9HB3JpjpLshg1ENVWq/ksZ6Hi3rFLNlvXkxy/36cGjlDBx7CIlpCeVjhqi4+G3JgJvhQ/kaimglMkA33Yo8bxQoVo8nQKEJ79KPKLvATVHkmVRXBAvIFQ6AqLhYHFlTZF1/XQ7SblE0PCyLNs6s8yq25lOns6EfEhGl6wLyNBLXT33CAY/6eJRlsuHVfKT0yBAYhhQ0dltMM='
# DEPLOYER_MAIL
- secure: 'MtSVNng2I8yGJSUjXwSq+AJu8BeccladOT/QRS2lXEnJ66Fk22H0vTZCwmSB+4vVx9pt8ybBLqueNkcpcCZ1VxNWyYlWVFYt/jFbXKAcZpry0vYXKVHvf3Mofb/c/PBI7wl6CNFpMzGgDES9D+nbZCWUpzwnO47wLNmC2zKpE0eAQkdOIEHe7I4J5bfgE2i4VeRjzh2V7ZduMGUVnH/WEv51eQF4JLa/n0SWFn3SF1YQ/BOnLDcSyrofbadtoEHQ6OPYfHNRtOLUC07S1HOgAqFiAW+iZ4xP4345sBLF5ZldAEASWJMop4hH3TVG3cBxzuv6ubIgzKrsvj4KnytscBGZYcRP+JiLdY8Kf2qeJhApFrOKvBAt+GSeJygXHSC08Zm3vqDlFqUQpoNfAuBiCOd4uqZbCZewAt+ckQCl+QUOVHiJDgulPaDgQfgwcpIF/C9BqsS6d0CIYTq8rTObOYcT8qp+oJIoDRgnOfxelDl12RNFeqyyxY3orhPPk72B5/793F0YUwooJX+JfsN1aFdG1BE36k8fDijhR2P6g4YbIVGswyz6ugvUGC4PdPBr+1AIWCAYnUXGwS9CtIo7Y2dKuR2+Vz3CmT5A/HZsd9xXJoPibEMLYuSpbd+J5522/uMO+t0hjt7NGkZmzTHiElw6kUUS2Dt9vhBwpHmqCDo='
language: node_js
compiler: clang
node_js: '10'
before_install:
- |
if [ $TRAVIS_OS_NAME == "linux" ]; then
#export CXX="g++-4.9" CC="gcc-4.9"
export DISPLAY=':99.0'
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3
fi
install:
- npm install
- npm audit --production
- npm run compile
- npm run webpack # test dos not use it, but we are testing the webpack creation
- ls -all out/dist
script:
- npm test
after_failure:
- cat ./out/tmp/workspaceFolder/FailedTestLogs/log_*.txt
jobs:
include:
- os: linux
env: VSCODE_VERSION=latest
- os: osx
env: VSCODE_VERSION=latest
- os: linux
env: VSCODE_VERSION=1.38.0
if: branch = master
- os: osx
env: VSCODE_VERSION=1.38.0
if: branch = master
- os: linux
env: VSCODE_VERSION=insiders
if: branch != master
- os: osx
env: VSCODE_VERSION=insiders
if: branch != master
- os: linux
env: VSCODE_VERSION=latest
stage: deploy
script: npm run deploy
# https://docs.travis-ci.com/user/conditions-v1
if: branch = master && type = push && tag IS blank && repo = matepek/vscode-catch2-test-adapter
allow_failures:
- os: linux
env: VSCODE_VERSION=insiders
- os: osx
env: VSCODE_VERSION=insiders