Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows to build matrix #358

Merged
merged 1 commit into from
Sep 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ if: branch = master OR tag IS present
language:
ruby

os:
- linux

cache:
bundler
bundler: true
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64

rvm:
- '2.5'
Expand All @@ -16,8 +22,25 @@ rvm:

jobs:
fast_finish: true

allow_failures:
- rvm: truffleruby-head
- os: windows

include:
- os: windows
language: bash
before_cache:
- |-
# https://unix.stackexchange.com/a/137322/107554
$msys2 pacman --sync --clean --noconfirm
before_install:
- ruby --version
- gem --version
- choco install msys2 --params /NoUpdate
- powershell -Command 'Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass ; & c:\tools\ruby27\bin\ridk.ps1' install dev_tools
install:
- bundle install --retry=3

before_install:
- gem --version
Expand Down