install:
  - npm install -g jshint jscs
before_script:
  - cd ./tests
  - echo "new Date().toString();" | phantomjs
script:
  - jshint ../js/bootstrap-datepicker.js ../js/locales/*.js
  - jscs -c ../.jscs.json ../js/bootstrap-datepicker.js ../js/locales/*.js
  - phantomjs run-qunit.js tests.html
