appveyor.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # http://www.appveyor.com/docs/appveyor-yml
  2. # Custom build version
  3. version: 0.{build}-{branch}
  4. # Fix line endings in Windows. (runs before repo cloning)
  5. init:
  6. - git config --global core.autocrlf true
  7. # Test against these versions of Node.js.
  8. environment:
  9. matrix:
  10. - nodejs_version: "0.12"
  11. # Don't finish after first fail
  12. matrix:
  13. fast_finish: false
  14. # Install scripts. (runs after repo cloning)
  15. install:
  16. # Get the latest stable version of Node 0.STABLE.latest
  17. - ps: Install-Product node $env:nodejs_version
  18. # Install PhantomJS
  19. - cinst PhantomJS -y -Version 1.9.8
  20. - set path=%path%;C:\tools\PhantomJS\
  21. - dir C:\tools\PhantomJS
  22. # Typical npm stuff.
  23. - md C:\nc
  24. - npm install -g npm@^2
  25. # Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows
  26. - set PATH=%APPDATA%\npm;%PATH%
  27. - npm config set cache C:\nc
  28. - npm version
  29. - ps: cd C:\projects\misago\misago\emberapp
  30. - npm install -g bower
  31. - npm install
  32. - bower install
  33. # Post-install test scripts.
  34. test_script:
  35. # Output useful info for debugging.
  36. - node --version
  37. - npm --version
  38. # run tests
  39. - npm test
  40. # Don't actually build.
  41. build: off