blob: d55a6f4a4988b487d1ff3c7bb0924d57700b08d0 [file] [log] [blame]
language: node_js
sudo: false
git:
depth: 10
node_js:
- "6"
- "8"
- "10"
before_install:
- npm cache clean -f
- npm install -g npm@2
# getting cordova tools dependencies from github
# to make sure we're using their latest versions
install:
- 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/
- 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)