Configure Travis to build shaders with glsl-unit
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
||||
/bin/plovr*.jar
|
||||
/build/gh-pages
|
||||
/build/check-requires-timestamp
|
||||
/build/glsl-unit
|
||||
/build/jsdoc-*-timestamp
|
||||
/build/lint-timestamp
|
||||
/build/ol.css
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
before_install:
|
||||
- "sudo pip install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz"
|
||||
- "git clone https://github.com/jsdoc3/jsdoc && (cd jsdoc && git checkout master)"
|
||||
- "git clone https://code.google.com/p/glsl-unit/ build/glsl-unit"
|
||||
|
||||
before_script:
|
||||
- "./build.py plovr"
|
||||
- "./build.py serve-integration-test &"
|
||||
- "rm src/ol/renderer/webgl/webgl*shader.js"
|
||||
- "sleep 3"
|
||||
|
||||
script: "./build.py JSDOC=jsdoc/jsdoc integration-test"
|
||||
|
||||
2
build.py
2
build.py
@@ -39,7 +39,7 @@ else:
|
||||
variables.PYTHON = 'python'
|
||||
variables.PHANTOMJS = 'phantomjs'
|
||||
|
||||
TEMPLATE_GLSL_COMPILER_JS = '../glsl-unit/bin/template_glsl_compiler.js'
|
||||
TEMPLATE_GLSL_COMPILER_JS = 'build/glsl-unit/bin/template_glsl_compiler.js'
|
||||
|
||||
variables.BRANCH = output(
|
||||
'%(GIT)s', 'rev-parse', '--abbrev-ref', 'HEAD').strip()
|
||||
|
||||
Reference in New Issue
Block a user