forked from redhat-developer/vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (29 loc) · 671 Bytes
/
.travis.yml
File metadata and controls
34 lines (29 loc) · 671 Bytes
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
sudo: false
language: node_js
node_js:
- "node"
matrix:
include:
- os: linux
dist: trusty
- os: osx
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
- npm install -g typescript
install:
- wget http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz
- mkdir server
- tar -xvzf jdt-language-server-latest.tar.gz -C ./server
- rm jdt-language-server-latest.tar.gz
- npm install
- npm run compile
- npm run vscode:prepublish
- npm install -g vsce
- vsce package
- ls -ll java-*vsix
script:
- npm test --silent