forked from joaotavora/eglot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 1006 Bytes
/
.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
language: rust
sudo: false
rust:
- stable
env:
global:
- TRAVIS_TESTING=t
matrix:
- EMACS_VERSION=26.1
install:
- curl -LO https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
- tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
# Configure $PATH: Emacs installed to /tmp/emacs
- export PATH=/tmp/emacs/bin:${PATH}
- emacs --version
# Install RLS
- rustup update
- rustup component add rls-preview rust-analysis rust-src
# Install https://github.com/palantir/python-language-server
- virtualenv .
- . ./bin/activate
- pip install 'python-language-server[all]'
# Install eclipse.jdt.ls
- curl -fSL http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz -o eclipse.tar.gz
- mkdir eclipse.jdt.ls
- tar -C eclipse.jdt.ls -xzf eclipse.tar.gz
- export CLASSPATH=$(pwd)/$(find eclipse.jdt.ls/ -regex eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_.*.jar):${CLASSPATH}
script:
- make check