UNPKG

768 BYAMLView Raw
1language: node_js
2sudo: false
3git:
4 depth: 10
5node_js:
6 - "4"
7 - "6"
8 - "8"
9
10before_install:
11 - npm cache clean -f
12 - npm install -g npm@2
13
14# getting cordova tools dependencies from github
15# to make sure we're using their latest versions
16install:
17 - cd ..
18 - git clone https://github.com/apache/cordova-js --depth 10
19 - cd cordova-js
20 - npm install
21 - npm link
22 - cd ..
23 - git clone https://github.com/apache/cordova-lib --depth 10
24 - cd cordova-lib/
25 - npm install
26 - npm link cordova-js
27 - npm link
28 - cd ../cordova-cli
29 - npm link cordova-lib
30 - npm install
31 # # Workaround for npm/npm#10343
32 # - npm install
33 # - (cd ../cordova-js && npm install && npm link)
34 # - (cd ../cordova-lib/cordova-lib && npm install && npm link ../../cordova-js)