Simulador de lenguaje basado en la arquitectura de John von Nuemann, esta versión es para móviles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. image:
  2. - Previous Visual Studio 2015
  3. environment:
  4. ANDROID_HOME: "C:\\android"
  5. matrix:
  6. - nodejs_version: "4"
  7. - nodejs_version: "6"
  8. - nodejs_version: "8"
  9. init:
  10. - mkdir "%ANDROID_HOME%
  11. - cd "%ANDROID_HOME%"
  12. - appveyor DownloadFile "https://dl.google.com/android/repository/tools_r25.2.3-windows.zip"
  13. - 7z x "tools_r25.2.3-windows.zip" > nul
  14. - cd "C:\projects\cordova-android"
  15. install:
  16. - choco install gradle -version 3.4.1
  17. - gradle -version
  18. - echo y | "%ANDROID_HOME%\tools\android.bat" --silent update sdk --no-ui --all --filter platform-tools,tools,build-tools-26.0.2,android-26,android-25,extra-google-m2repository,extra-android-m2repository
  19. # on windows we need to accept sublicenses for the new tooling, wee. 30 is an arbitrary number,
  20. # but should be the maximum number of licenses we explicitly need to type "Y ENTER" for.
  21. # also, the sdkmanager in all its glory leaks a bit of output to stderr, and powershell
  22. # and appveyor interpret that as errors, and blows up. so, when piping in our "Y ENTER"
  23. # responses, we invoke cmd so we can redirect stderr to stdout, and tell it to --update itself.
  24. - ps: for($i=0;$i -lt 30;$i++) { $response += "y`n"}; $response | cmd /c 'C:\android\tools\bin\sdkmanager.bat 2>&1' --update
  25. - ps: Install-Product node $env:nodejs_version
  26. - npm install
  27. # below is a workaround on using gradle installed via choco on appveyor
  28. - set path=C:\ProgramData\chocolatey\lib\gradle\tools\gradle-3.4.1\bin;%path%
  29. build: off
  30. test_script:
  31. - node --version
  32. - npm --version
  33. - npm test