appveyor.yml 992 B

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