Commit Graph

25 Commits

Author SHA1 Message Date
Tim Schaub
b452e04e08 Add a task to run the tests once with PhantomJS
The test.js task starts the development server and runs the tests in PhantomJS.  As mentioned in the readme, when running the tests continuously during development, it is more convenient to start the dev server and visit the root of the test directory in your browser.

Later we can bring in Karma to drive PhantomJS and other browsers, but this simple "run once" task is useful for the CI job.
2014-07-05 19:42:30 -04:00
Éric Lemoine
a4e923cf4b Target integration-test renamed to ci 2014-07-04 10:51:17 +02:00
Éric Lemoine
d1820fbce5 Update .travis.yml 2014-07-04 10:51:17 +02:00
Tim Schaub
94f0513aa1 Update closure-util
The closure-util package works on Node 0.8, 0.10, and 0.11 (as of this writing), but it requires an updated version of npm to install on Node 0.8.  For the build to pass on Travis, we update npm before installing other dependencies.  For others who are installing the openlayers package, nothing special is required for Node 0.10 and above.  For users on Node 0.8, the openlayers package will only install with an updated version of npm.  This can be installed with npm itself.

    npm install -g npm # only needed on Node 0.8
2014-06-13 10:48:10 -07:00
Paul Spencer
6d3bbe61ce Upgrade to jsdoc 3.3. 2014-04-08 07:39:57 -04:00
Tom Payne
af952b7ea5 Install node dependencies on Travis 2014-03-23 19:59:50 +01:00
ahocevar
d524973fd3 Use a released version of jsdoc 2013-11-06 19:11:21 +01:00
Tom Payne
6f24507cd3 Add gjslint to requirements.txt 2013-10-02 13:30:19 +02:00
Tom Payne
39dd37073c Don't install glsl-unit in Travis environment 2013-10-01 18:33:08 +02:00
Tom Payne
ef23a9a204 Add requirements.txt 2013-10-01 18:30:36 +02:00
Tom Payne
cec83abc3e Use regex module to work around arbitrary limitations in re
Our automatically generated regular expressions break Python's random
and arbitrary limit of 100 groups. See
  http://stackoverflow.com/questions/478458
2013-07-22 18:20:39 +02:00
Éric Lemoine
410f35bb44 Use latest gjslint version (2.3.10) 2013-05-10 00:13:05 +02:00
Éric Lemoine
1d709cc6ac Use closure_linter-2.3.9.tar.gz
closure_linter-latest.tar.gz is no longer available in http://closure-linter.googlecode.com/files/, so use closure_linter-2.3.9.tar.gz.
2013-05-09 21:23:31 +02:00
Tom Payne
116370f7f1 Only shallow clone jsdoc
glsl-unit is not shallow cloned because code.google.com returns a 500
Internal Server Error.
2013-03-25 12:33:27 +01:00
Tom Payne
e196a9e68e Clone jsdoc into build/jsdoc 2013-03-25 12:28:04 +01:00
Tom Payne
731fcd3d17 Move shader support code into ol.webgl 2013-03-23 18:29:26 +01:00
Tom Payne
4ec8bf2360 Configure Travis to build shaders with glsl-unit 2013-03-23 18:20:34 +01:00
ahocevar
77efd352ad Use JSDoc master again
... so we're able to always give the JSDoc project instant
feedback on how it works with code that uses the Closure
library.
2013-03-22 10:50:15 +01:00
Éric Lemoine
a3d10e4234 Use jsdoc v3.1.1 2013-03-20 22:36:13 +01:00
Tom Payne
df6af7cafa Replace precommit with separate check and integration-test targets 2013-03-11 12:21:13 +01:00
Tom Payne
f082cddb6b Use build.py for Travis 2012-11-04 19:08:55 +01:00
Tom Payne
012b8a584a Add serve-precommit target for Travis 2012-09-29 11:51:53 +02:00
Éric Lemoine
a0f747379b Make Travis also build the doc 2012-09-27 18:01:31 +02:00
Éric Lemoine
745c906846 Run Travis builds for any branch 2012-09-25 16:23:42 +02:00
Éric Lemoine
95d2cac09f Add Travis config file 2012-09-25 16:07:07 +02:00