forked from ycm-core/ycmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (33 loc) · 984 Bytes
/
appveyor.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
version: '{build}'
environment:
USE_CLANG_COMPLETER: true
matrix:
- msvc: 11
arch: 32
- msvc: 11
arch: 64
- msvc: 12
arch: 32
- msvc: 12
arch: 64
- msvc: 14
arch: 32
- msvc: 14
arch: 64
install:
- git submodule update --init --recursive
- ps: $env:python = if ($env:arch -eq 32) { 'C:\Python27' } else { 'C:\Python27-x64' }
- set PATH=%python%;%python%\Scripts;%PATH%
- python --version
# Manually setting PYTHONHOME for python 2.7.11 fix the following error when
# running core tests: "ImportError: No module named site"
# TODO: check if this is still needed when python 2.7.12 is released.
- set PYTHONHOME=%python%
- ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:\get-pip.py')
- python C:\get-pip.py
- pip install -r test_requirements.txt
- npm install -g typescript
build_script:
- python run_tests.py --msvc %MSVC%
# Disable automatic tests
test: off