blob: abf92bf0ef81856d4a88b3a47386bdc17aba8812 [file] [log] [blame]
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
# 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
- 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