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