Skip to content

Commit 60d8b15

Browse files
committed
Replace Travis with Github Actions
Because Travis is putting large restrictions on their open-source offer, we have to move away from it.
1 parent 95875a7 commit 60d8b15

File tree

2 files changed

+27
-35
lines changed

2 files changed

+27
-35
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build:
7+
name: Run
8+
strategy:
9+
matrix:
10+
os: [ ubuntu-latest, macos-latest, windows-latest ]
11+
dc: [ dmd-latest, ldc-latest, dmd-2.085.1, ldc-1.14.0 ]
12+
13+
runs-on: ${{ matrix.os }}
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: dlang-community/setup-dlang@v1
18+
19+
- name: 'Build & Test'
20+
shell: bash
21+
run: |
22+
dub test --compiler=$DC -b unittest-cov
23+
24+
- name: Upload coverage to Codecov
25+
uses: codecov/codecov-action@v1
26+
with:
27+
flags: unittests

.travis.yml

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

0 commit comments

Comments
 (0)