2017-09-22 02:20:07 +03:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- 'stable'
|
|
|
|
|
2018-01-12 04:37:52 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gettext
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libicu-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libunwind8
|
|
|
|
- zlib1g
|
|
|
|
|
2017-10-12 23:51:13 +03:00
|
|
|
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
|
|
|
|
|
2018-01-12 04:37:52 +03:00
|
|
|
# Install dotnet cli and add to path
|
|
|
|
- export DOTNET_INSTALL_DIR="$HOME/.dotnet"
|
|
|
|
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 2.0.0 --install-dir "$DOTNET_INSTALL_DIR"
|
|
|
|
- export PATH="$DOTNET_INSTALL_DIR:$PATH"
|
|
|
|
|
2017-09-22 02:20:07 +03:00
|
|
|
install:
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
script:
|
2018-03-12 21:07:46 +03:00
|
|
|
- gulp package
|
|
|
|
- gulp upload-vsix
|
2017-10-12 23:51:13 +03:00
|
|
|
- npm run lint
|
2018-01-11 22:07:59 +03:00
|
|
|
- gulp test
|
2017-09-22 02:20:07 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2018-01-11 22:07:59 +03:00
|
|
|
on_failure: always
|