Skip to content
Closed
Show file tree
Hide file tree
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
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Docurium CI

on:
pull_request:
push:
branches:
- master
- maint/*

jobs:
build:
strategy:
fail-fast: false
matrix:
ruby: [ '2.4.6', '2.5.5', '2.6.3' ]
os: [ ubuntu-18.04, macOS-latest ]

runs-on: ${{ matrix.os }}

name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Set up Ruby on Linux
if: runner.os == 'Linux'
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Ruby on macOS
if: runner.os == 'macOS'
run: |
brew install rbenv
rbenv install ${{ matrix.ruby }}
rbenv local ${{ matrix.ruby }}
- name: run build
run: |
if [ -x rbenv ]; then eval "$(rbenv init -)"; fi
ruby --version
gem install bundler
bundle install --path vendor
export LLVM_CONFIG=llvm-config-6.0
bundle exec rake
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ addons:
- llvm-6.0
- clang-6.0
rvm:
- ruby-2.4
- ruby-2.5
- ruby-2.6
- ruby-head

env:
Expand Down