forked from redhat-developer/vscode-yaml
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
26 lines (26 loc) · 1.11 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
sudo: false
language: node_js
node_js:
- '12'
os:
- osx
- linux
before_install:
- npm install -g typescript
install:
- |
if [ $TRAVIS_OS_NAME == "linux" ]; then
export DISPLAY=':99.0';
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
fi
- npm install
- npm run build
- npm install -g vsce
- vsce package
script:
- npm test
deploy:
provider: npm
email: [email protected]
api_key:
secure: BOtaGfNaAl0zGlsuVakvQTe45FHxxbvVaS7O1h1mVmoxr/a985UeRPF9dxxcAaAhVdCZ93OwY6f3fdP2Mn87hOPksCaBfvlTccOBxyWfnF4TaRecsAOcq+iVzZwBNEsQBD0YRESUYiMjv7uT17pkVxOJ7Id8L3FfEUcN9EUWb+AfMFw8qJjCXIT8KjfdeG2EPkJll4qvsYXbOepPJOnPchTJpkYMc8gGGlFVAAqO+RX0r3wanSuUF0oxmunOwGcrF2qKgFCGgLMAkv7r6MAGcD3iK0xVaU4xBU9XSNYSrsgap43f7LFb1lWMpxpSCxB1Vw/D4s2TeJX1CozfrM0SPhOU6B8re1iift8aUCqKee2qjaYitpE8FIha9LWdtxAfCItO96jzVOxuYcxeM94hpl5aMeUaCTTC7Bln+qS+J6Vg2eBn6k3uVvyDmtT+2dul0L/iMuIgECBtiATEWAkMo/TheiQWAAKKlFEx0e7tzBfnlW42d4t4fTVE/znMPp/fMcLF25h64I2wYsemMMPh/yN6zQRKhONlLlNFY+x+3hDyUD2FHukk4xifZfJrvjF00bGPGB3HwIGbVvIcoyWiXSzWSmycgey7ZZM8uclJ/9B1Y8Ct73C6zz1rqlgQ1tqBm07v+nNOGNJASphTEWmrdVXY3ZCHB2OnBbnD11a9NUA=