File tree 6 files changed +30
-20
lines changed
6 files changed +30
-20
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+
2
3
notifications :
3
4
email :
4
5
6
+
5
7
node_js :
6
- - 0.11
7
- before_script :
8
- - npm start &
9
- - npm install mocha-phantomjs -g
10
- - phantomjs --version
8
+ - 0.12
9
+
10
+ before_install :
11
+ - |
12
+ if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/'
13
+ then
14
+ echo "Only docs were updated, stopping build process."
15
+ exit
16
+ fi
17
+ npm install mocha-phantomjs -g
18
+ phantomjs --version
19
+
11
20
script :
12
- - npm test
13
- - npm run-script browser-test
14
- - npm run-script browser-test-cover
15
- - npm run saucelabs
21
+ - |
22
+ if [ "$TEST_TYPE" = test ]; then
23
+ npm test
24
+ else
25
+ npm run $TEST_TYPE
26
+ fi
27
+
16
28
env :
29
+ matrix :
30
+ - TEST_TYPE=lint
31
+ - TEST_TYPE=browser-test
32
+ - TEST_TYPE=browser-test-cover
33
+ - TEST_TYPE=saucelabs
17
34
global :
18
35
- secure : ZA1AnTsJO9Y4lT+G9t7D0JEsgDoq7Dv2toYqXKzThdeHtjwToJ3BD98GksPrq7IkYE0H+Mr7J5c9PPJWQ2neYw42l+FaWtpPd7EypVudnMI/JM9CEND3llz3hRKaeqSN8ny23neR6GwXUsTSNwvXZ+pm0PIGDAJl8nEtX4BAdiw=
19
36
- secure : IRy84xceUtLxjZLb13NQQqPmOa8X9CJy0SSi2DLYwBldhOrebXEBqkdIxwkIsog8og/PsSvVKDYTZCKOF0LVkRbzrsJWzT6trKWf+dzvV2QXOInYU1Whke3ECCuiq9RISjfSKFWvwHHhS8NnmoiT+FkfP7NIjbwsRTISCkNxwNk=
Original file line number Diff line number Diff line change 1
- /** @jsx React.DOM */
2
-
3
1
var React = require ( 'react' ) ;
4
2
var rcUtil = require ( 'rc-util' ) ;
5
3
var joinClasses = rcUtil . joinClasses ;
Original file line number Diff line number Diff line change 1
- /** @jsx React.DOM */
2
-
3
1
var React = require ( 'react' ) ;
4
2
var rcUtil = require ( 'rc-util' ) ;
5
3
var joinClasses = rcUtil . joinClasses ;
Original file line number Diff line number Diff line change 1
- /** @jsx React.DOM */
2
-
3
1
var React = require ( 'react' ) ;
4
2
var rcUtil = require ( 'rc-util' ) ;
5
3
var joinClasses = rcUtil . joinClasses ;
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rc-menu" ,
3
- "version" : " 3.2.0 " ,
3
+ "version" : " 3.2.1 " ,
4
4
"description" : " menu ui component for react" ,
5
5
"keywords" : [
6
6
" react" ,
40
40
"start" : " node --harmony node_modules/.bin/rc-server" ,
41
41
"publish" : " rc-tools run tag && spm publish" ,
42
42
"lint" : " rc-tools run lint" ,
43
- "test" : " " ,
44
- "saucelabs" : " rc-tools run saucelabs" ,
45
- "browser-test" : " rc-tools run browser-test" ,
46
- "browser-test-cover" : " rc-tools run browser-test-cover"
43
+ "saucelabs" : " node --harmony node_modules/.bin/rc-tools run saucelabs" ,
44
+ "browser-test" : " node --harmony node_modules/.bin/rc-tools run browser-test" ,
45
+ "browser-test-cover" : " node --harmony node_modules/.bin/rc-tools run browser-test-cover"
47
46
},
48
47
"devDependencies" : {
49
48
"font-awesome" : " ~4.2.0" ,
You can’t perform that action at this time.
0 commit comments