vscode/.travis.yml

68 lines
1.6 KiB
YAML
Raw Normal View History

sudo: false
2015-11-23 13:48:57 +00:00
language: cpp
2015-11-23 13:48:57 +00:00
os:
- linux
- osx
2017-11-15 14:36:05 +00:00
cache:
2017-11-15 14:47:39 +00:00
directories:
- $HOME/.cache/yarn
2017-11-15 14:36:05 +00:00
2016-08-03 14:15:25 +00:00
notifications:
email: false
2017-10-14 06:13:06 +00:00
webhooks:
2018-02-14 11:10:50 +00:00
- https://vscode-probot.westus.cloudapp.azure.com:7890/travis/notifications
2018-02-14 10:02:02 +00:00
- https://vscode-test-probot.westus.cloudapp.azure.com:7890/travis/notifications
2016-08-03 14:15:25 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- gcc-4.9-multilib
- g++-4.9-multilib
- zip
- libgtk2.0-0
- libx11-dev
- libxkbfile-dev
2017-07-21 23:28:11 +00:00
- libsecret-1-dev
before_install:
- export GITHUB_TOKEN=$PUBLIC_GITHUB_TOKEN
- git submodule update --init --recursive
2017-11-15 14:32:11 +00:00
- nvm install 8.9.1
- nvm use 8.9.1
- npm i -g yarn
# - npm config set python `which python`
2015-11-23 13:48:57 +00:00
- 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;
2015-11-23 13:48:57 +00:00
fi
2017-11-02 23:23:07 +00:00
# Make npm logs less verbose
2017-11-15 14:32:11 +00:00
# - npm config set depth 0
# - npm config set loglevel warn
install:
2017-11-15 14:32:11 +00:00
- yarn
2015-11-25 08:49:27 +00:00
script:
2017-10-02 05:12:27 +00:00
- node_modules/.bin/gulp electron --silent
- node_modules/.bin/tsc -p ./src/tsconfig.monaco.json --noEmit
2017-10-02 05:12:27 +00:00
- node_modules/.bin/gulp compile --silent --max_old_space_size=4096
2017-06-20 08:04:17 +00:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./scripts/test.sh --coverage --reporter dot; else ./scripts/test.sh --reporter dot; fi
- ./scripts/test-integration.sh
after_success:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/coveralls < .build/coverage/lcov.info; fi
2018-01-09 22:25:03 +00:00
matrix:
include:
- os: linux
env: label=hygiene
script: node_modules/.bin/gulp hygiene
after_success: skip