Skip to content

Commit 9fa9373

Browse files
authored
Merge pull request rails-api#2442 from ohbarye/remove-travis-setting
Remove TravisCI settings
2 parents 0fbe0fa + 8f75a18 commit 9fa9373

File tree

3 files changed

+3
-125
lines changed

3 files changed

+3
-125
lines changed

.travis.yml

-122
This file was deleted.

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ please adhere to these standards:
5151
- Provide a description of the changes contained in the pull request.
5252
- Note any specific areas that should be reviewed.
5353
- Include tests.
54-
- The test suite must pass on [supported Ruby versions](.travis.yml)
54+
- The test suite must pass on [supported Ruby versions](.github/workflows/ci.yml)
5555
- Include updates to the [documentation](https://github.com/rails-api/active_model_serializers/tree/master/docs)
5656
where applicable.
5757
- Update the
@@ -79,7 +79,7 @@ and bundling gems. (save this script somewhere executable and run from top of A
7979
```bash
8080
#!/usr/bin/env bash
8181

82-
rcommand='puts YAML.load_file("./.travis.yml")["env"]["matrix"].join(" ").gsub("RAILS_VERSION=", "")'
82+
rcommand='puts YAML.load_file(".github/workflows/ci.yml").dig("jobs", "test", "strategy", "matrix", "include").map{|v| v["ruby-version"]}.join(" ")'
8383
versions=$(ruby -ryaml -e "$rcommand")
8484

8585
for version in ${versions[@]}; do

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<tr>
55
<td>Build Status</td>
66
<td>
7-
<a href="https://travis-ci.org/rails-api/active_model_serializers"><img src="https://api.travis-ci.org/rails-api/active_model_serializers.svg?branch=0-10-stable" alt="Build Status" ></a>
7+
<a href="https://github.com/rails-api/active_model_serializers/actions"><img src="https://github.com/rails-api/active_model_serializers/actions/workflows/ci.yml/badge.svg?branch=0-10-stable" alt="Build Status" ></a>
88
<a href="https://ci.appveyor.com/project/bf4/active-model-serializers/branch/0-10-stable"><img src="https://ci.appveyor.com/api/projects/status/x6xdjydutm54gvyt/branch/master?svg=true" alt="Build status"></a>
99
</td>
1010
</tr>

0 commit comments

Comments
 (0)