forked from apache/cordova-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (42 loc) · 1.01 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
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "6"
# getting cordova tools dependencies from github
# to make sure we're using their latest versions
install:
- npm cache clean -f
- npm install -g npm@2
- ps: Install-Product node $env:nodejs_version
- cd ..
- git clone https://github.com/apache/cordova-js --depth 10
- cd cordova-js
- npm install
- npm link
- cd ..
- git clone https://github.com/apache/cordova-lib --depth 10
- cd cordova-lib/cordova-lib
- npm install
- npm link cordova-js
- npm link
- cd ../../cordova-cli
- npm link cordova-lib
- npm install
# # Workaround for npm/npm#10343
# - npm install
# - cd ../cordova-js
# - npm install
# - npm link
# - cd ../cordova-lib/cordova-lib
# - npm install
# - npm link ../../cordova-js
# - cd ../../cordova-cli
build: off
test_script:
- node --version
- npm --version
- npm test