File: appveyor.yml

package info (click to toggle)
ruby-mysql2 0.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,096 kB
  • sloc: ansic: 3,459; ruby: 3,334; sh: 226; makefile: 3
file content (49 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download
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
38
39
40
41
42
43
44
45
46
47
48
49
---
version: "{build}"
clone_depth: 10
install:
  - SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - ruby --version
  - gem --version
  - bundler --version
  - bundle install --path vendor/bundle
  - IF DEFINED MINGW_PACKAGE_PREFIX (ridk exec pacman -S --noconfirm --needed %MINGW_PACKAGE_PREFIX%-libmariadbclient)
build_script:
  - bundle exec rake compile
test_script:
  - '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" --version'
  - >
    "C:\Program Files\MySQL\MySQL Server 5.7\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
on_failure:
  - find tmp -name "*.log" | xargs cat
environment:
  matrix:
    - ruby_version: "26-x64"
      MINGW_PACKAGE_PREFIX: "mingw-w64-x86_64"
    - ruby_version: "25-x64"
      MINGW_PACKAGE_PREFIX: "mingw-w64-x86_64"
    - ruby_version: "24-x64"
      MINGW_PACKAGE_PREFIX: "mingw-w64-x86_64"
    - ruby_version: "24"
      MINGW_PACKAGE_PREFIX: "mingw-w64-i686"
    - ruby_version: "23-x64"
    - ruby_version: "23"
    - ruby_version: "22-x64"
    - ruby_version: "22"
    - ruby_version: "21-x64"
    - ruby_version: "21"
    - ruby_version: "200-x64"
    - ruby_version: "200"
cache:
  - vendor
services:
  - mysql
hosts:
  mysql2gem.example.com: 127.0.0.1