-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis CI, Coveralls, AppVeyor (#463)
- Loading branch information
Anthony Dresser
authored
Dec 6, 2016
1 parent
7b128fd
commit 0ceafb8
Showing
16 changed files
with
118 additions
and
4,178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,5 @@ tools | |
examples | ||
sqltoolsservice | ||
coverage | ||
test-reports | ||
test-reports | ||
.vscode-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: node_js | ||
node_js: | ||
- "6.9.1" | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
before_install: | ||
- export CHROME_BIN=chromium-browser | ||
# Set up chrome on osx | ||
- if [ $TRAVIS_OS_NAME == "osx" ]; then | ||
brew cask install google-chrome; | ||
export CHROME_BIN=/Applications/Google\ Chrome.app; | ||
fi | ||
- export BUILDMACHINE=true | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install xclip; fi | ||
- npm install -g npm | ||
install: | ||
- npm install -g --silent gulp-cli | ||
- npm install -g --silent xvfb-maybe | ||
- npm install | ||
- gulp install | ||
script: | ||
- gulp build | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then gulp cover:enableconfig; fi | ||
- if [ $TRAVIS_OS_NAME == "osx" ]; then | ||
sudo xvfb-maybe ./node_modules/.bin/karma start; | ||
else | ||
xvfb-maybe ./node_modules/.bin/karma start; | ||
fi | ||
- xvfb-maybe node ./node_modules/vscode/bin/test | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
gulp cover:combine; | ||
node_modules/.bin/coveralls < coverage/lcov.info; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
environment: | ||
nodejs_version: "6.9.1" | ||
|
||
# Install scripts. (runs after repo cloning) | ||
install: | ||
- choco install googlechrome | ||
- set BUILDMACHINE=true | ||
# Get the latest stable version of Node.js or io.js | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm install -g npm | ||
# show versions | ||
- npm --version | ||
- node --version | ||
- npm install -g --silent gulp-cli | ||
# install modules | ||
- npm install | ||
- gulp install | ||
|
||
build_script: | ||
- gulp build | ||
|
||
test_script: | ||
- ./node_modules/.bin/karma start | ||
- node ./node_modules/vscode/bin/test | ||
|
||
on_finish: | ||
- ps: scripts\upload.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.