2014-11-05 17:46:01 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2015-03-06 20:31:45 +00:00
|
|
|
- "0.12"
|
2014-11-05 21:31:54 +00:00
|
|
|
- "0.11"
|
2014-11-05 17:46:01 +00:00
|
|
|
- "0.10"
|
2014-11-05 21:31:54 +00:00
|
|
|
before_script:
|
|
|
|
- npm install
|
2014-11-14 19:00:19 +00:00
|
|
|
- npm install jshint
|
2015-03-06 20:37:44 +00:00
|
|
|
- export DISPLAY=:99.0
|
2015-03-06 20:31:45 +00:00
|
|
|
- sh -e /etc/init.d/xvfb start
|
2014-11-14 19:00:19 +00:00
|
|
|
script:
|
|
|
|
- "jshint *.js lib"
|
2014-11-05 21:31:54 +00:00
|
|
|
after_script:
|
2015-01-11 16:54:36 +00:00
|
|
|
- npm run-script build
|
2015-03-06 20:12:50 +00:00
|
|
|
- npm run-script karma
|
2015-02-16 21:49:26 +00:00
|
|
|
- npm run-script test-coveralls
|
2015-01-11 16:54:36 +00:00
|
|
|
|