Skip to content

Commit

Permalink
replace travis by GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jecaro committed Oct 20, 2023
1 parent 8a95c5d commit 9a89ea5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 55 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "CI"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
steps:
- uses: actions/checkout@v4
- run: make build
- run: make test
- run: make deploy
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

23 changes: 5 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ The project page, to add/rename/remove projects:

# Deployment and CI

This project is built on each commit on the repository by [travis][status]. A
docker image is automatically sent on [docker hub][dockerhub] when the build and
tests succeed.
This project is built on each commit on the repository by [GitHub
actions][status]. A docker image is automatically sent on [docker
hub][dockerhub] when the build and tests succeed.

# How to try it ?

Expand Down Expand Up @@ -265,19 +265,6 @@ example:
- `http://myuser:mypassword@localhost:8081` for http
- `https://myuser:mypassword@droplet:443` for joining the server over https

# Roadmap

- ~~Command line tool~~
- ~~Unit tests with [hspec][hspec]~~
- ~~[QuickCheck][quickcheck] property based testing~~
- ~~CI with [travis][status]~~
- ~~web server with [servant][servant]~~
- ~~deployement on [heroku][heroku]~~
- ~~dockerize the app~~
- ~~deploy on [digital ocean][digitalocean]~~
- ~~web frontend with [Elm][elm]~~


[digitalocean]: https://www.digitalocean.com/
[dockerhub]: https://hub.docker.com/r/jecaro/hscalendar-server/tags
[elm]: https://elm-lang.org/
Expand All @@ -294,6 +281,6 @@ example:
[refined]: https://github.com/nikita-volkov/refined
[rio]: https://github.com/commercialhaskell/rio
[servant]: https://github.com/haskell-servant/servant
[status-png]: https://travis-ci.org/jecaro/hscalendar.svg?branch=master
[status]: https://travis-ci.org/jecaro/hscalendar?branch=master
[status-png]: https://github.com/jecaro/hscalendar/workflows/CI/badge.svg
[status]: https://github.com/jecaro/hscalendar/actions
[yaml]: https://github.com/snoyberg/yaml

0 comments on commit 9a89ea5

Please sign in to comment.