appveyor.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # appveyor file
  2. # http://www.appveyor.com/docs/appveyor-yml
  3. #environment:
  4. # NODE_PATH: %CD%\node_modules;%NODE_PATH%
  5. # my_var2: value2
  6. install:
  7. - SET PATH=%CD%\node_modules\.bin;%PATH%
  8. - SET NODE_PATH=%CD%\node_modules;%CD%\node_modules\cordova\node_modules;%NODE_PATH%
  9. - SET __COMPAT_LAYER=RunAsInvoker
  10. - npm install
  11. - cordova create app-preferences-app
  12. build: off
  13. test_script:
  14. # testing basic functionality of preference generator
  15. - echo running jasmine test
  16. - cd bin
  17. - jasmine
  18. - cd ..
  19. # let's create cordova app, add and remove plugin a few times
  20. - echo test plugin within cordova app
  21. - cd app-preferences-app
  22. - cordova platform add windows
  23. - cordova plugin add cordova-plugin-device
  24. - cordova plugin add https://github.com/apla/me.apla.cordova.app-preferences
  25. - cp plugins/cordova-plugin-app-preferences/src/test.js www/js/apppreferences-test.js
  26. - patch -p0 -i plugins/cordova-plugin-app-preferences/src/test.patch
  27. - cordova -d build --debug --emulator windows
  28. # cannot emulate on appveyor, need too much work https://github.com/appveyor/ci/issues/201
  29. # - node ../bin/test-server.js windows