forked from apache/cordova-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
49 lines (45 loc) · 1.26 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version
- git clone https://github.com/apache/cordova-js --depth 10
- git clone https://github.com/apache/cordova-common --depth 10
- git clone https://github.com/apache/cordova-fetch --depth 10
- git clone https://github.com/apache/cordova-serve --depth 10
- cd cordova-js
- npm install
- npm link .
- cd ../cordova-common
- npm install
- npm link .
- cd ../cordova-serve
- npm install
- npm link .
- cd ../cordova-fetch
- npm link cordova-common
- npm install
- npm link .
- cd ../
- npm link cordova-js
- npm link cordova-fetch
- npm link cordova-common
- npm link cordova-serve
- npm install
# Workaround for npm/npm#10343 when dependency of linked module is moved to dependent
# module's 'node_modules' In our case 'cordova-common' -> jshint' -> 'cli' dependency
# is moved to 'cordova-lib' and hence 'npm run jshint' on 'cordova-common' is failing
#- cd cordova-common
#- npm install
#- cd ../cordova-fetch
#- npm install
#- npm link ../cordova-common
#- cd ../
build: off
test_script:
- node --version
- npm --version
- "npm test"