-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from tanepiper/refactor
Release v2.0.0
- Loading branch information
Showing
36 changed files
with
2,396 additions
and
1,542 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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
.DS_Store | ||
*.pyc | ||
*.cache | ||
node_modules | ||
.debug_plugin | ||
.debugger.pid | ||
package-lock.json | ||
|
||
tests/data/node_modules | ||
tests/data/package-lock.json |
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 |
---|---|---|
@@ -1 +1 @@ | ||
4.2.2 | ||
8.6.0 |
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,87 @@ | ||
env: | ||
global: | ||
- NVM_SYMLINK_CURRENT=true | ||
- PACKAGE="Nodejs" # Package name | ||
- SUBLIME_TEXT_VERSION="3" | ||
# use UNITTESTING_TAG to specific tag of UnitTesting | ||
# - UNITTESTING_TAG="master" | ||
|
||
branches: | ||
only: | ||
- master | ||
- refactor | ||
|
||
# mutliple os matrix | ||
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages) | ||
matrix: | ||
include: | ||
- os: linux | ||
language: node_js | ||
node_js: "6" | ||
env: | ||
- NODEJS_VERSION="v6.12.0" | ||
- os: linux | ||
language: node_js | ||
node_js: "8" | ||
env: | ||
- NODEJS_VERSION="v8.9.1" | ||
- os: osx | ||
language: node_js | ||
node_js: "6" | ||
env: | ||
- NODEJS_VERSION="v6.12.0" | ||
- os: osx | ||
language: node_js | ||
node_js: "8" | ||
env: | ||
- NODEJS_VERSION="v8.9.1" | ||
|
||
|
||
before_install: | ||
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh | ||
# enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers | ||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then | ||
export DISPLAY=:99.0; | ||
sh -e /etc/init.d/xvfb start; | ||
fi | ||
- export NVM_SYMLINK_CURRENT=true | ||
|
||
install: | ||
- nvm alias default $NODEJS_VERSION; nvm use $NODEJS_VERSION | ||
# bootstrap the testing environment | ||
- sh travis.sh bootstrap | ||
# install Package Control and package denepdencies | ||
- sh travis.sh install_package_control | ||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then | ||
touch "$HOME/Library/Application Support/Sublime Text 3/Packages/Nodejs/.debug_plugin"; | ||
fi | ||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then | ||
touch $HOME/.config/sublime-text-3/Packages/Nodejs/.debug_plugin; | ||
fi | ||
|
||
script: | ||
# run tests with test coverage report | ||
- sh travis.sh run_tests --coverage | ||
# testing syntax_test files | ||
# - sh travis.sh run_syntax_tests | ||
|
||
after_success: | ||
# remove the following if `coveralls` is not needed | ||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then | ||
brew update; | ||
brew install python3; | ||
pip3 install python-coveralls; | ||
pip3 install codecov; | ||
fi | ||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then | ||
apt-get update -qq | ||
apt-get install -qq python3 | ||
pip install python-coveralls; | ||
pip install codecov; | ||
fi | ||
- coveralls | ||
- codecov | ||
|
||
notifications: | ||
email: false | ||
|
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.