-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (37 loc) · 956 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
version: "{build}"
clone_depth: 10
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- ruby --version
- gem --version
- gem install bundler --quiet --no-ri --no-rdoc
- bundler --version
- bundle install --without benchmarks --path vendor/bundle
build_script:
- bundle exec rake compile
test_script:
- '"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysql" --version'
- >
"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysql" -u root -p"Password12!" -e "
CREATE DATABASE IF NOT EXISTS test;
CREATE USER '%USERNAME%'@'localhost';
SET PASSWORD = PASSWORD('');
FLUSH PRIVILEGES;
"
- bundle exec rake spec
# Where do I get Unix find?
#on_failure:
# - find tmp -name "*.log" -exec cat {};
environment:
matrix:
- ruby_version: "200"
- ruby_version: "200-x64"
- ruby_version: "21"
- ruby_version: "21-x64"
- ruby_version: "22"
- ruby_version: "22-x64"
cache:
- vendor
services:
- mysql