Skip to content

Commit 6f5dab8

Browse files
authored
Merge pull request progit#1668 from progit/ben/travis-cleanup
Travis cleanup
2 parents 4b99f21 + a72f948 commit 6f5dab8

File tree

4 files changed

+6
-68
lines changed

4 files changed

+6
-68
lines changed

.travis.yml

-34
This file was deleted.

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace :book do
77
end
88

99
# Variables referenced for build
10-
version_string = ENV['TRAVIS_TAG'] || `git describe --tags`.chomp
10+
version_string = `git describe --tags`.chomp
1111
if version_string.empty?
1212
version_string = '0'
1313
end

TRANSLATING.md

+5-14
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,13 @@ On https://git-scm.com, the translations are divided into three categories. Once
7272
| Partial translations available in | up to chapter 6 has been translated. |
7373
| Full translation available in |the book is (almost) fully translated. |
7474

75-
## Continuous integration with Travis CI
75+
## Continuous integration with GitHub Actions
7676

77-
Travis CI is a [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) service that integrates with GitHub. Travis CI is used to ensure that a pull-request doesn't break the build or compilation. Travis CI can also provide compiled versions of the book.
77+
GitHub Actions is a [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) service that integrates with GitHub. GitHub Actions is used to ensure that a pull-request doesn't break the build or compilation. GitHub Actions can also provide compiled versions of the book.
7878

79-
Setting up Travis CI requires administrative control over the repository.
80-
81-
### Registering for Travis continuous integration
82-
83-
1. Register a Travis account [here](https://travis-ci.org/).
84-
1. Register your project in Travis.
85-
Please refer to the [Travis documentation](https://docs.travis-ci.com/) for more information.
86-
87-
### Setting up your repository for continuous integration
88-
89-
Travis CI works by scanning your project's root directory for a file named `.travis.yml` and following the 'recipe' that it contains. The good news is: there's already a working `.travis.yml` file in the Pro Git 2 source [here](https://raw.githubusercontent.com/progit/progit2-pub/master/travis.yml).
90-
Copy that file, and put it in your working directory. Commit the .yml file and push it to your translation repository; that should fire up a compilation and a check of the book's contents.
79+
The configuration for GitHub Actions is contained in the `.github/workflows` directory, and if you bring in the `master` branch of the root repository you'll get them for free.
80+
However, if you created your translation repo by _forking_ the root repo, there's an extra step you must complete (if you did not fork, you can skip this part).
81+
GitHub assumes that forks will be used to contribute to the repo from which they were forked, so you'll have to visit the "Actions" tab on your forked repo, and click the "I understand my workflows" button to allow the actions to run.
9182

9283
## Setting up a publication chain for e-books
9384

script/tag_on_master

-19
This file was deleted.

0 commit comments

Comments
 (0)