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.
9 lines
182 B
YAML
9 lines
182 B
YAML
before_install:
|
|
- "sudo pip install -r requirements.txt"
|
|
- "npm install -g npm && npm install"
|
|
|
|
before_script:
|
|
- "rm src/ol/renderer/webgl/*shader.js"
|
|
|
|
script: "./build.py ci"
|