Skip to content

Commit d198e90

Browse files
committed
Use AppVeyor for Windows testing
1 parent 054b5f7 commit d198e90

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

appveyor.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
version: "{build}"
3+
clone_depth: 10
4+
install:
5+
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
6+
- ruby --version
7+
- gem --version
8+
- gem install bundler --quiet --no-ri --no-rdoc
9+
- bundler --version
10+
- bundle install --without benchmarks
11+
build_script:
12+
- bundle exec rake compile
13+
test_script:
14+
- '"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysql" --version'
15+
- >
16+
"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysql" -u root -p"Password12!" -e "
17+
CREATE DATABASE IF NOT EXISTS test;
18+
CREATE USER '%USERNAME%'@'localhost';
19+
SET PASSWORD = PASSWORD('');
20+
FLUSH PRIVILEGES;
21+
"
22+
- bundle exec rake spec
23+
# Where do I get Unix find?
24+
#on_failure:
25+
# - find tmp -name "*.log" -exec cat {};
26+
environment:
27+
matrix:
28+
- ruby_version: "200"
29+
- ruby_version: "200-x64"
30+
- ruby_version: "21"
31+
- ruby_version: "21-x64"
32+
services:
33+
- mysql

0 commit comments

Comments
 (0)