File tree Expand file tree Collapse file tree 4 files changed +50
-5
lines changed Expand file tree Collapse file tree 4 files changed +50
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,38 @@ node_js:
5
5
- " 0.11"
6
6
- " 0.12"
7
7
- " iojs"
8
- env :
9
- - TEST_SUITE=standard
10
- - TEST_SUITE=unit
8
+ matrix :
9
+ include :
10
+ - node_js : ' 0.10'
11
+ env : TEST_SUITE=unit
12
+ - node_js : ' 0.11'
13
+ env : TEST_SUITE=unit
14
+ - node_js : ' 0.12'
15
+ env : TEST_SUITE=unit
16
+ - node_js : ' iojs'
17
+ env : TEST_SUITE=unit
18
+ - node_js : ' iojs'
19
+ env : TEST_SUITE=standard
20
+ - node_js : ' iojs'
21
+ env : TEST_SUITE=browser
22
+ - node_js : ' iojs'
23
+ env : TEST_SUITE=browser BROWSER_NAME=opera BROWSER_VERSION="11..latest"
24
+ - node_js : ' iojs'
25
+ env : TEST_SUITE=browser BROWSER_NAME=ie BROWSER_VERSION="9..latest"
26
+ - node_js : ' iojs'
27
+ env : TEST_SUITE=browser BROWSER_NAME=chrome BROWSER_VERSION="41..beta"
28
+ - node_js : ' iojs'
29
+ env : TEST_SUITE=browser BROWSER_NAME=firefox BROWSER_VERSION="36..latest"
30
+ - node_js : ' iojs'
31
+ env : TEST_SUITE=browser BROWSER_NAME=ipad BROWSER_VERSION="8.2"
32
+ - node_js : ' iojs'
33
+ env : TEST_SUITE=browser BROWSER_NAME=iphone BROWSER_VERSION="8.2"
34
+ - node_js : ' iojs'
35
+ env : TEST_SUITE=browser BROWSER_NAME=safari BROWSER_VERSION="5..latest"
36
+ - node_js : ' iojs'
37
+ env : TEST_SUITE=browser BROWSER_NAME=android BROWSER_VERSION="4.0..latest"
11
38
script : " npm run-script $TEST_SUITE"
39
+ env :
40
+ global :
41
+ - secure : YHNUDQmx/WiW3gmDcRCfb6KLDeio7Mr5tqPY2kHPdZlBSytsQjNk75ytM4U6Cu8Uk8iEIoj/aFlxiVMpJNA8J4QSUyW/YkbVaIz0+1oywoV0Ht8aRBfZ1jvXfX6789+1Q9c4xaMkYYbJpXSh9JcirsiwmqWd4+IDd7hcESodsDQ=
42
+ - secure : Nhj5yejKZxUbtHGZta+GjYWqXGaOZB7ainTkOuGcpXM+OwwjeDpYlTBrwS90Q7hqens7KXVzQM09aDbadpsDCsOo1nyaEigMtomAorZ1UC1CpEoVz1ZuikF9bEhb+/7M9pzuL1fX+Ke9Dx4mPPeb8sf/2SrAu1RqXkSwZV/duAc=
Original file line number Diff line number Diff line change
1
+ ui : tape
Original file line number Diff line number Diff line change 12
12
"prepublish" : " npm ls && npm test" ,
13
13
"standard" : " standard" ,
14
14
"test" : " npm run standard && npm run unit" ,
15
- "unit" : " set -e; for t in test/node/*.js test/*.js; do node $t; done"
15
+ "unit" : " node test/" ,
16
+ "browser" : " zuul --browser-version $BROWSER_VERSION --browser-name $BROWSER_NAME -- test/index.js"
16
17
},
17
18
"engines" : {
18
19
"node" : " *"
32
33
"devDependencies" : {
33
34
"hash-test-vectors" : " ~1.3.2" ,
34
35
"standard" : " ^5.0.2" ,
35
- "tape" : " ~2.3.2"
36
+ "tape" : " ~2.3.2" ,
37
+ "zuul" : " ^3.6.0"
36
38
},
37
39
"optionalDependencies" : {},
38
40
"browser" : {
Original file line number Diff line number Diff line change
1
+ require ( './aes' )
2
+ require ( './create-hash' )
3
+ require ( './create-hmac' )
4
+ if ( ! process . browser ) {
5
+ require ( './dh' )
6
+ }
7
+ require ( './ecdh' )
8
+ require ( './pbkdf2' )
9
+ require ( './public-encrypt' )
10
+ require ( './random-bytes' )
11
+ require ( './sign' )
You can’t perform that action at this time.
0 commit comments