File tree Expand file tree Collapse file tree 5 files changed +68
-14
lines changed Expand file tree Collapse file tree 5 files changed +68
-14
lines changed Original file line number Diff line number Diff line change 5
5
6
6
sudo : false
7
7
8
- env :
9
- - RUNJOB=jshint
10
-
11
- script : bash ./build/travis/script.sh
8
+ script : npm install && npm test
12
9
13
10
notifications :
14
11
irc :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ module . exports = function ( config ) {
2
+ config . set ( {
3
+ frameworks : [ 'qunit' ] ,
4
+
5
+ // Order DOES matter, as soon as we have no dependency management in JS
6
+ files : [
7
+ 'node_modules/jquery/dist/jquery.js' ,
8
+ 'vendor/data-values/javascript/src/dataValues.js' ,
9
+ 'vendor/data-values/javascript/lib/util/util.inherit.js' ,
10
+ 'vendor/data-values/javascript/src/DataValue.js' ,
11
+ 'src/__namespace.js' ,
12
+ 'src/Claim.js' ,
13
+ 'src/Entity.js' ,
14
+ 'src/Fingerprint.js' ,
15
+ 'src/GroupableCollection.js' ,
16
+ 'src/Group.js' ,
17
+ 'src/Map.js' ,
18
+ 'src/MultiTerm.js' ,
19
+ 'src/Reference.js' ,
20
+ 'src/SiteLink.js' ,
21
+ 'src/Snak.js' ,
22
+ 'src/Statement.js' ,
23
+ 'src/Term.js' ,
24
+ 'src/Set.js' ,
25
+ 'src/List.js' ,
26
+ 'vendor/data-values/javascript/lib/globeCoordinate/globeCoordinate.js' ,
27
+ 'vendor/data-values/javascript/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js' ,
28
+ 'vendor/data-values/javascript/src/valueFormatters/valueFormatters.js' ,
29
+ 'vendor/data-values/javascript/src/valueParsers/valueParsers.js' ,
30
+ 'vendor/data-values/javascript/src/dataValues.js' ,
31
+ 'vendor/data-values/javascript/src/*.js' ,
32
+ 'vendor/data-values/javascript/src/values/*.js' ,
33
+ 'src/*.js' ,
34
+ 'tests/*.js'
35
+ ] ,
36
+ port : 9876 ,
37
+
38
+ // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
39
+ logLevel : config . LOG_INFO ,
40
+ browsers : [ 'PhantomJS' ]
41
+ } ) ;
42
+ } ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "directories" : {
3
+ "lib" : " src" ,
4
+ "test" : " tests"
5
+ },
6
+ "dependencies" : {
7
+ "jquery" : " ^3.2.1"
8
+ },
9
+ "devDependencies" : {
10
+ "jshint" : " ^2.9.4" ,
11
+ "karma" : " ^1.7.0" ,
12
+ "karma-cli" : " ^1.0.1" ,
13
+ "karma-phantomjs-launcher" : " ^1.0.4" ,
14
+ "karma-qunit" : " ^1.2.1" ,
15
+ "qunitjs" : " ^2.3.2"
16
+ },
17
+ "scripts" : {
18
+ "postinstall" : " composer install" ,
19
+ "test" : " npm run jshint && npm run run-tests" ,
20
+ "jshint" : " jshint --show-non-errors --verbose src/ tests/" ,
21
+ "run-tests" : " karma start --single-run"
22
+ }
23
+ }
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @ignore
3
3
*/
4
- wikibase . datamodel = wikibase . datamodel || { } ;
4
+ window . wikibase = window . wikibase || { } ;
5
+ window . wikibase . datamodel = window . wikibase . datamodel || { } ;
You can’t perform that action at this time.
0 commit comments