Skip to content

Commit c5d954b

Browse files
committed
Migrate to GHA
1 parent bf7bc53 commit c5d954b

File tree

5 files changed

+30
-42
lines changed

5 files changed

+30
-42
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: pybuilder.github.io
2+
on:
3+
pull_request:
4+
branches:
5+
- source
6+
push:
7+
branches:
8+
- source
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: 2.7
17+
bundler-cache: true
18+
- name: Build Jekyll Site
19+
run: $GITHUB_WORKSPACE/build.sh
20+
- name: Deploy Site
21+
if: ${{ github.event_name == 'push' }}
22+
uses: NickSchimek/deploy_jamstack_action@main
23+
with:
24+
build-dir: _site
25+
deploy-branch: master

.travis.yml

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

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -eEu
1+
#!/bin/bash -eEux
22

33
bundle exec jekyll build
44

documentation/plugins.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -444,14 +444,6 @@ the production source directory.
444444
</tr>
445445
</table>
446446

447-
448-
<div class="alert alert-warning alert-dismissable">
449-
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
450-
<h4>Travis CI warning</h4>
451-
If you use PyBuilder with <a href="http://travis-ci.org">Travis CI</a> and run integration
452-
tests in parallel, you will need a workaround due to a travis issue with POSIX semaphores.
453-
Please refer to <a href="https://github.com/travis-ci/travis-cookbooks/issues/155">the related travis issue</a>.
454-
</div>
455447
<div class="alert alert-warning alert-dismissable">
456448
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
457449
<h4>Python 3.2 warning</h4>

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>
1818
<p>
1919
<em>PyBuilder</em> runs on Python <strong>2.7 to 3.9 and PyPy</strong>.
2020
Every commit is tested on CPython v2.7, 3.5, 3.6, 3.7, 3.8, 3.9 and PyPy on Linux, OSX and Windows
21-
via <a href="https://travis-ci.org/pybuilder/pybuilder/">Travis CI</a>.
21+
via <a href="https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml">GitHub Actions</a>.
2222
</p>
2323
<p>
2424
<small>v0.11.x still supports Python 2.6, 3.3 and 3.4 but is no longer maintained.</small>
@@ -41,9 +41,9 @@ <h1>
4141
<a href="https://gitter.im/pybuilder/pybuilder">
4242
<img src="https://img.shields.io/gitter/room/pybuilder/pybuilder?logo=gitter"
4343
loading="lazy" alt="PyBuilder Gitter Room"/></a>
44-
<a href="https://travis-ci.org/pybuilder/pybuilder/">
45-
<img src="https://img.shields.io/travis/pybuilder/pybuilder/master?logo=travis"
46-
loading="lazy" alt="PyBuilder Travis Build Status"/></a>
44+
<a href="https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml">
45+
<img src="https://img.shields.io/github/workflow/status/pybuilder/pybuilder/pybuilder/master"
46+
loading="lazy" alt="PyBuilder GitHub Actions Build Status"/></a>
4747
<a href="https://coveralls.io/github/pybuilder/pybuilder">
4848
<img src="https://img.shields.io/coveralls/github/pybuilder/pybuilder/master?logo=coveralls"
4949
loading="lazy" alt="PyBuilder Coveralls Build"/></a>

0 commit comments

Comments
 (0)