Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97d9974

Browse files
authored
Merge pull request #100 from varp/master
The future release v2.0.4
2 parents 0b5e683 + e84d9a9 commit 97d9974

File tree

9 files changed

+728
-559
lines changed

9 files changed

+728
-559
lines changed

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,11 @@ node_modules
77
package-lock.json
88

99
tests/data/node_modules
10-
tests/data/package-lock.json
10+
tests/data/package-lock.json
11+
12+
.idea/
13+
14+
*.sublime-project
15+
*.sublime-workspace
16+
17+
*.log

.travis.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,34 @@ matrix:
1717
include:
1818
- os: linux
1919
language: node_js
20-
node_js: "6.12.2"
21-
env:
22-
- NODEJS_VERSION="v6.12.2"
20+
node_js: "10"
21+
env:
22+
- NODEJS_VERSION="v10"
2323
- os: linux
2424
language: node_js
25-
node_js: "8.9.3"
25+
node_js: "11"
2626
env:
27-
- NODEJS_VERSION="v8.9.3"
27+
- NODEJS_VERSION="v11"
2828
- os: osx
2929
language: node_js
30-
node_js: "6.12.2"
30+
node_js: "10"
3131
env:
32-
- NODEJS_VERSION="v6.12.2"
32+
- NODEJS_VERSION="v10"
3333
- os: osx
3434
language: node_js
35-
node_js: "8.9.3"
35+
node_js: "11"
3636
env:
37-
- NODEJS_VERSION="v8.9.3"
37+
- NODEJS_VERSION="v11"
3838

3939

4040
before_install:
41-
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
4241
# enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers
43-
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
42+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
4443
export DISPLAY=:99.0;
4544
sh -e /etc/init.d/xvfb start;
45+
sleep 3;
4646
fi
47+
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
4748
- export NVM_SYMLINK_CURRENT=true
4849

4950
install:
@@ -61,7 +62,7 @@ install:
6162

6263
script:
6364
# run tests with test coverage report
64-
- sh travis.sh run_tests --coverage
65+
- sh travis.sh run_tests
6566
# testing syntax_test files
6667
# - sh travis.sh run_syntax_tests
6768

@@ -84,4 +85,4 @@ after_success:
8485

8586
notifications:
8687
email: false
87-
88+

Nodejs.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ def generate_completions():
2828
sublime.active_window().run_command('node_builddocs')
2929

3030

31+
def is_there_node_exe():
32+
# TODO: check if there is a some NODE executable exists on the system
33+
pass
34+
35+
36+
def is_there_npm_exe():
37+
# TODO: check if there is a some NPM executable exists on the system
38+
pass
39+
40+
3141
def check_and_install_dependencies():
3242
"""
3343
The function is dosen't check whether npm/node is installed or not.
@@ -62,7 +72,7 @@ def create_output_panel():
6272

6373
def plugin_loaded():
6474
check_and_install_dependencies()
65-
generate_completions()
75+
generate_completions()
6676
if Nvm.is_installed():
6777
info('Node.js version from NVM is ' + Nvm.node_version())
6878

0 commit comments

Comments
 (0)