diff --git a/.travis.yml b/.travis.yml index 7cb1cf47c..958bd9d5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ before_script: + - "make" - "npm install -g mocha-phantomjs" -script: mocha-phantomjs test/index.html +script: mocha-phantomjs test/index.html && mocha-phantomjs test/index_packaged.html diff --git a/Makefile b/Makefile index 71128143f..15158dcbe 100644 --- a/Makefile +++ b/Makefile @@ -12,16 +12,22 @@ all: \ .INTERMEDIATE iD.js: \ js/lib/d3.v3.js \ + js/lib/d3.geo.tile.js \ + js/lib/d3.one.js \ + js/lib/d3.size.js \ + js/lib/d3.typeahead.js \ + js/lib/jxon.js \ js/lib/lodash.js \ js/lib/ohauth.js \ js/lib/sha.js \ - js/lib/jxon.js \ - js/lib/lodash.js \ js/id/id.js \ - js/id/oauth.js \ js/id/connection.js \ + js/id/oauth.js \ + js/id/taginfo.js \ js/id/util.js \ js/id/actions/*.js \ + js/id/controller/*.js \ + js/id/format/*.js \ js/id/graph/*.js \ js/id/renderer/*.js \ js/id/ui/*.js \ diff --git a/test/index_packaged.html b/test/index_packaged.html new file mode 100644 index 000000000..c634fa8c6 --- /dev/null +++ b/test/index_packaged.html @@ -0,0 +1,47 @@ + + + + + Mocha Tests + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +