Skip to content

Commit 3e1982e

Browse files
authored
Switch from Travis to GitHub Actions (#59)
The Travis builds are taking a while, whereas on GitHub Actions builds are super fast, with minimal configuration.
1 parent ddf14fd commit 3e1982e

File tree

3 files changed

+28
-13
lines changed

3 files changed

+28
-13
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on: [ push ]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
matrix:
9+
ruby: [ 2.5, 2.6, 2.7, jruby, truffleruby-head ]
10+
fail-fast: false
11+
max-parallel: 10
12+
runs-on: ubuntu-latest
13+
14+
env:
15+
BUNDLE_JOBS: 4
16+
BUNDLE_PATH: vendor/bundle
17+
CI: true
18+
19+
name: ${{ matrix.ruby }}
20+
steps:
21+
- uses: ruby/setup-ruby@v1
22+
with:
23+
bundler-cache: true
24+
ruby-version: ${{ matrix.ruby }}
25+
- uses: actions/checkout@v2
26+
- run: bundle install --path vendor/bundle
27+
- run: bundle exec rake

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Babosa
22

3-
[![Build Status](https://api.travis-ci.com/norman/babosa.svg?branch=master)](https://travis-ci.com/norman/babosa)
4-
3+
[![Build Status](https://github.com/norman/babosa/actions/workflows/main.yml/badge.svg)](https://github.com/norman/babosa/actions)
54

65
Babosa is a library for creating human-friendly identifiers, aka "slugs". It can
76
also be useful for normalizing and sanitizing data.

0 commit comments

Comments
 (0)