Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add github action, remove travis-ci config
- Loading branch information
1 parent
39abf33
commit 207566e
Showing
2 changed files
with
27 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: D | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7 | ||
- name: 'Install dependencies' | ||
run: | | ||
sudo apt-get install libcurl4-openssl-dev | ||
- name: 'Build & Test (with coverage)' | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
run: | | ||
dub build | ||
dub test -b unittest-cov | ||
dub fetch doveralls | ||
dub run doveralls |
This file was deleted.
Oops, something went wrong.