123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # # # # # # # # # # # # # # # # # # # # # # # # # #
- # ╔═╗╔═╗╔═╗╦ ╦╔═╗╦ ╦╔═╗╦═╗ ┬ ┬┌┬┐┬ #
- # ╠═╣╠═╝╠═╝╚╗╔╝║╣ ╚╦╝║ ║╠╦╝ └┬┘││││ #
- # ╩ ╩╩ ╩ ╚╝ ╚═╝ ╩ ╚═╝╩╚═o ┴ ┴ ┴┴─┘ #
- # #
- # This file configures Appveyor CI. #
- # (i.e. how we run the tests on Windows) #
- # #
- # https://www.appveyor.com/docs/lang/nodejs-iojs/ #
- # # # # # # # # # # # # # # # # # # # # # # # # # #
- # Test against these versions of Node.js.
- environment:
- matrix:
- - nodejs_version: "0.10"
- - nodejs_version: "0.12"
- - nodejs_version: "4"
- - nodejs_version: "5"
- - nodejs_version: "6"
- - nodejs_version: "7"
- # Install scripts. (runs after repo cloning)
- install:
- # Get the latest stable version of Node.js
- # (Not sure what this is for, it's just in Appveyor's example.)
- - ps: Install-Product node $env:nodejs_version
- # Install declared dependencies
- - npm install
- # Post-install test scripts.
- test_script:
- # Setup database
- - SET MYSQL_PWD=Password12!
- - '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u root -p"Password12!" -e "CREATE DATABASE IF NOT EXISTS adapter_tests"'
- # Output Node and NPM version info.
- # (Presumably just in case Appveyor decides to try any funny business?
- # But seriously, always good to audit this kind of stuff for debugging.)
- - node --version
- - npm --version
- # Run the actual tests.
- - npm run fasttest
- # Setup MySQL Database
- services:
- - mysql
- # Don't actually build.
- # (Not sure what this is for, it's just in Appveyor's example.
- # I'm not sure what we're not building... but I'm OK with not
- # building it. I guess.)
- build: off
|