Add CI instruction file
This commit is contained in:
Родитель
05b1504320
Коммит
78c560ce4d
|
@ -0,0 +1,20 @@
|
|||
sudo: false
|
||||
|
||||
os:
|
||||
- osx
|
||||
- linux
|
||||
|
||||
before_install:
|
||||
- if [ $TRAVIS_OS_NAME == "linux" ]; then
|
||||
export DISPLAY=:99.0;
|
||||
sh -e /etc/init.d/xvfb start;
|
||||
sleep 3;
|
||||
fi
|
||||
|
||||
install:
|
||||
- npm install
|
||||
- npm run vscode:prepublish
|
||||
|
||||
script:
|
||||
- node --version
|
||||
- node ./node_modules/vscode/bin/test
|
|
@ -0,0 +1,17 @@
|
|||
version: 1.0.{build}
|
||||
image:
|
||||
- Visual Studio 2017
|
||||
- Visual Studio 2017 Preview
|
||||
- Visual Studio 2015
|
||||
- Visual Studio 2013
|
||||
environment:
|
||||
HasVs: true
|
||||
install:
|
||||
- ps: Install-Product node 8.9.1 x64
|
||||
- cmd: npm install --loglevel=error
|
||||
build_script:
|
||||
- cmd: npm run vscode:prepublish
|
||||
test_script:
|
||||
- cmd: >-
|
||||
node --version
|
||||
node ./node_modules/vscode/bin/test
|
Загрузка…
Ссылка в новой задаче