Skip to content

Commit

Permalink
Add Github actions file
Browse files Browse the repository at this point in the history
Remove Travis CI file. Travis recently announced that in a few weeks all
free tier projects will run out of build time. Which is quite annoying,
since I just got this project working on Travis.

Move to Github actions, since they claim "always free" for public
projects. And they were super fast to get working. And the jobs run so
much faster than on Travis.

Add test and docs badges to README.
  • Loading branch information
Rycieos committed Dec 8, 2020
1 parent 3136701 commit 05e0a50
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: tests
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
jobs:
tests:
strategy:
matrix:
os:
- ubuntu-16.04
- ubuntu-18.04
- ubuntu-20.04
- macos-10.15
- macos-11.0
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Install zsh
run: sudo apt-get --yes install zsh
if: runner.os == 'Linux'
- run: ./tests.sh
shell: bash
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Liquid Prompt — a useful adaptive prompt for Bash & zsh
=======================================================

![Tests](https://github.com/nojhan/liquidprompt/workflows/tests/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/liquidprompt/badge/?version=stable)](https://liquidprompt.readthedocs.io/)

Liquid Prompt gives you a nicely displayed prompt with useful information
when you need it. It shows you what you need when you need it.
You will notice what changes *when* it changes, saving time and frustration.
Expand Down

0 comments on commit 05e0a50

Please sign in to comment.