File tree Expand file tree Collapse file tree 9 files changed +728
-559
lines changed Expand file tree Collapse file tree 9 files changed +728
-559
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,11 @@ node_modules
7
7
package-lock.json
8
8
9
9
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
Original file line number Diff line number Diff line change @@ -17,33 +17,34 @@ matrix:
17
17
include :
18
18
- os : linux
19
19
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 "
23
23
- os : linux
24
24
language : node_js
25
- node_js : " 8.9.3 "
25
+ node_js : " 11 "
26
26
env :
27
- - NODEJS_VERSION="v8.9.3 "
27
+ - NODEJS_VERSION="v11 "
28
28
- os : osx
29
29
language : node_js
30
- node_js : " 6.12.2 "
30
+ node_js : " 10 "
31
31
env :
32
- - NODEJS_VERSION="v6.12.2 "
32
+ - NODEJS_VERSION="v10 "
33
33
- os : osx
34
34
language : node_js
35
- node_js : " 8.9.3 "
35
+ node_js : " 11 "
36
36
env :
37
- - NODEJS_VERSION="v8.9.3 "
37
+ - NODEJS_VERSION="v11 "
38
38
39
39
40
40
before_install :
41
- - curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
42
41
# 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
44
43
export DISPLAY=:99.0;
45
44
sh -e /etc/init.d/xvfb start;
45
+ sleep 3;
46
46
fi
47
+ - curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
47
48
- export NVM_SYMLINK_CURRENT=true
48
49
49
50
install :
@@ -61,7 +62,7 @@ install:
61
62
62
63
script :
63
64
# run tests with test coverage report
64
- - sh travis.sh run_tests --coverage
65
+ - sh travis.sh run_tests
65
66
# testing syntax_test files
66
67
# - sh travis.sh run_syntax_tests
67
68
@@ -84,4 +85,4 @@ after_success:
84
85
85
86
notifications :
86
87
email : false
87
-
88
+
Original file line number Diff line number Diff line change @@ -28,6 +28,16 @@ def generate_completions():
28
28
sublime .active_window ().run_command ('node_builddocs' )
29
29
30
30
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
+
31
41
def check_and_install_dependencies ():
32
42
"""
33
43
The function is dosen't check whether npm/node is installed or not.
@@ -62,7 +72,7 @@ def create_output_panel():
62
72
63
73
def plugin_loaded ():
64
74
check_and_install_dependencies ()
65
- generate_completions ()
75
+ generate_completions ()
66
76
if Nvm .is_installed ():
67
77
info ('Node.js version from NVM is ' + Nvm .node_version ())
68
78
You can’t perform that action at this time.
0 commit comments