Skip to content

Commit

Permalink
Remove travis-ci related files. Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Jun 12, 2021
1 parent 608f7dc commit b10610a
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 26 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: build
on:
pull_request:
push:
release:
types: [published]

jobs:
Build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
dc:
- ldc-latest
- dmd-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup D
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}

- name: Build and run tests
run: |
dub test -b unittest-cov
- name: Install and run doveralls
if: ${{ startsWith(matrix.os, 'ubuntu') && startsWith(matrix.dc, 'dmd') && github.event_name == 'push' }}
run: |
sudo apt-get install -y libcurl4-openssl-dev
dub fetch doveralls
dub run doveralls -- -t ${{ secrets.CoverallsToken }}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

D library for working with *.desktop* files. Desktop entries in Freedesktop world are akin to shortcuts from Windows world (.lnk files).

[![Build Status](https://travis-ci.org/FreeSlave/desktopfile.svg?branch=master)](https://travis-ci.org/FreeSlave/desktopfile) [![Coverage Status](https://coveralls.io/repos/FreeSlave/desktopfile/badge.svg?branch=master&service=github)](https://coveralls.io/github/FreeSlave/desktopfile?branch=master)
[![Build Status](https://github.com/FreeSlave/desktopfile/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/FreeSlave/desktopfile/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/FreeSlave/desktopfile/badge.svg?branch=master&service=github)](https://coveralls.io/github/FreeSlave/desktopfile?branch=master)

[Online documentation](https://freeslave.github.io/d-freedesktop/docs/desktopfile.html)

Expand Down
13 changes: 0 additions & 13 deletions travis-script.sh

This file was deleted.

0 comments on commit b10610a

Please sign in to comment.