forked from slackhq/vscode-hack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 1.15 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
sudo: false
language: node_js
node_js:
- "8"
os:
- linux
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
- npm run vscode:prepublish
script:
- npm run lint
- npm test --silent
- npm install -g vsce
- vsce package
deploy:
provider: releases
api_key:
secure: kPNHzpvgrRn77LtacJT/3P4fwUETP6Mv1xFmgbwq/YKXwUQLWLMMo6HnI6bVy5SieIz9TxEIVepkcKdpGvsW1N15B7IgLaljVw0iamw6VUsDYmKBWvQHTdVuuAezeAGs9tHOQ/er3eVJwKJwnwtI1oUXET/OMWtwvob60zApHm3VD9yzwZ0YQEOjINKgIHJMMnAgG39fUr6HDVxFRObSxpNmovBVeGxlkPw9IWGYeZNHwS62ROtnbFIEn4bbEtGq7sd/yz3EdwsY7KZXI1eWGK41zuqlTt1RJHypd7vcY2VqzffDkY1YrUMwZOhMY0uA9yZjpl4d0WA84qE1vTOjyHdJnW9nKCVPrN/EYMNoJos4ng6aNcRBAEb4WrzpzppyQlmn8MFFNPfN0RQ1MGpNIug9K/x29k2vw2hYDZQ6r5dU/Np0Cg5cl/l7buV0R1lKAE04dL3GaoVjwGsM2I4CVvVXYVq6utA2nNlIyRDbbtAFcpT2E8/H/MFePvHOcD8QKi6bTJBGH1B9TTC0/W9FbKgGKdW4ZTS8NkE6ePE/FfTZwgmfy9eQQNImPuRzNy4t3OB5DS+SYAaMKhoHcq1lPxTOPCO0HHI2WhnkVXhzsTSiiJ29gtWqwyxNKdMhfZijYUlxkUSGdHg/6Ltz3y8lbkF4wZPD+brD27QU4P4KZBk=
file_glob: true
file: "*.vsix"
skip_cleanup: true
on:
tags: true