forked from sublimelsp/LSP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (27 loc) · 805 Bytes
/
Copy path.travis.yml
File metadata and controls
27 lines (27 loc) · 805 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
env:
global:
- PACKAGE="LSP" # Package name
- SUBLIME_TEXT_VERSION="3"
language: python
python:
- "3.3" # sublime text 3
before_install:
- pip install "mypy==0.570"
- pip install flake8
- pip install python-coveralls
- curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/travis.sh
# enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi
install:
- sh travis.sh bootstrap
- sh travis.sh install_package_control
script:
- mypy -p plugin
- flake8 --exclude=./boot.py
- coverage run -m unittest discover
- sh travis.sh run_tests
after_success:
- coveralls