appveyor.yml 643 B

123456789101112131415161718192021222324252627282930313233
  1. environment:
  2. MYSQL_DATABASE: node_mysql
  3. MYSQL_HOST: localhost
  4. MYSQL_USER: root
  5. MYSQL_PASSWORD: Password12!
  6. MYSQL_PATH: C:\Program Files\MySQL\MySQL Server 5.6
  7. matrix:
  8. - nodejs_version: "0.8"
  9. - nodejs_version: "0.10"
  10. - nodejs_version: "0.12"
  11. services:
  12. - mysql
  13. install:
  14. - ps: Install-Product node $env:nodejs_version
  15. - npm install
  16. build: off
  17. before_test:
  18. - SET PATH=%MYSQL_PATH%\bin;%PATH%
  19. - mysqladmin --host=%MYSQL_HOST% --user=%MYSQL_USER% --password=%MYSQL_PASSWORD% create %MYSQL_DATABASE%
  20. test_script:
  21. - mysql --version
  22. - node --version
  23. - npm --version
  24. - npm run test-ci
  25. version: "{build}"