File tree 3 files changed +34
-3
lines changed
3 files changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ before_script:
12
12
13
13
script :
14
14
- " test $TRAVIS_NODE_VERSION != '0.6' || npm test"
15
- - " test $TRAVIS_NODE_VERSION = '0.6' || npm run-script test-travis "
15
+ - " test $TRAVIS_NODE_VERSION = '0.6' || npm run-script test-ci "
16
16
17
17
after_script :
18
18
- " test $TRAVIS_NODE_VERSION = '0.6' || npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
Original file line number Diff line number Diff line change
1
+ environment :
2
+ MYSQL_DATABASE : node_mysql
3
+ MYSQL_HOST : localhost
4
+ MYSQL_USER : root
5
+ MYSQL_PASSWORD : Password12!
6
+
7
+ matrix :
8
+ - nodejs_version : " 0.8"
9
+ - nodejs_version : " 0.10"
10
+ - nodejs_version : " 0.12"
11
+
12
+ install :
13
+ - ps : Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
14
+ - npm install
15
+
16
+ before_test :
17
+ - " SET PATH=C:\P rogram Files\M ySQL\M ySQL Server 5.6\b in;%PATH%"
18
+ - mysqladmin --host=%MYSQL_HOST% --user=%MYSQL_USER% --password=%MYSQL_PASSWORD% create %MYSQL_DATABASE%
19
+
20
+ build : off
21
+
22
+ services :
23
+ - mysql
24
+
25
+ test_script :
26
+ - mysql --version
27
+ - node --version
28
+ - npm --version
29
+ - npm run test-ci
30
+
31
+ version : " {build}"
Original file line number Diff line number Diff line change 28
28
},
29
29
"scripts" : {
30
30
"test" : " node test/run.js" ,
31
- "test-cov " : " node test/run-cov.js" ,
32
- "test-travis " : " node test/run-cov.js lcovonly "
31
+ "test-ci " : " node test/run-cov.js lcovonly " ,
32
+ "test-cov " : " node test/run-cov.js"
33
33
}
34
34
}
You can’t perform that action at this time.
0 commit comments