Skip to content

Commit cf95183

Browse files
authored
Remove Travis (#195)
1 parent 08f7095 commit cf95183

File tree

4 files changed

+44
-61
lines changed

4 files changed

+44
-61
lines changed

.github/workflows/DynamicPPL-CI.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
arch:
2828
- x86
2929
- x64
30+
num_threads:
31+
- 1
32+
- 2
3033
exclude:
3134
- os: windows-latest
3235
arch: x86
@@ -38,5 +41,28 @@ jobs:
3841
with:
3942
version: ${{ matrix.version }}
4043
arch: ${{ matrix.arch }}
44+
- uses: actions/cache@v1
45+
env:
46+
cache-name: cache-artifacts
47+
with:
48+
path: ~/.julia/artifacts
49+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
50+
restore-keys: |
51+
${{ runner.os }}-test-${{ env.cache-name }}-
52+
${{ runner.os }}-test-
53+
${{ runner.os }}-
4154
- uses: julia-actions/julia-buildpkg@latest
4255
- uses: julia-actions/julia-runtest@latest
56+
env:
57+
JULIA_NUM_THREADS: ${{ matrix.num_threads }}
58+
- uses: julia-actions/julia-processcoverage@v1
59+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
60+
- uses: codecov/codecov-action@v1
61+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
62+
with:
63+
file: lcov.info
64+
- uses: coverallsapp/github-action@master
65+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
66+
with:
67+
github-token: ${{ secrets.GITHUB_TOKEN }}
68+
path-to-lcov: lcov.info

.github/workflows/pullrequest.yml

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

.travis.yml

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

bors.toml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
status = [
2-
"continuous-integration/travis-ci/push",
3-
"test (1.%, ubuntu-latest, x86)",
4-
"test (1, ubuntu-latest, x86)",
5-
"test (1.%, ubuntu-latest, x64)",
6-
"test (1, ubuntu-latest, x64)",
7-
"test (1.%, macOS-latest, x64)",
8-
"test (1, macOS-latest, x64)",
9-
"test (1.%, windows-latest, x64)",
10-
"test (1, windows-latest, x64)"
2+
"test (1.%, ubuntu-latest, x86, 1)",
3+
"test (1.%, ubuntu-latest, x86, 2)",
4+
"test (1, ubuntu-latest, x86, 1)",
5+
"test (1, ubuntu-latest, x86, 2)",
6+
"test (1.%, ubuntu-latest, x64, 1)",
7+
"test (1.%, ubuntu-latest, x64, 2)",
8+
"test (1, ubuntu-latest, x64, 1)",
9+
"test (1, ubuntu-latest, x64, 2)",
10+
"test (1.%, macOS-latest, x64, 1)",
11+
"test (1.%, macOS-latest, x64, 2)",
12+
"test (1, macOS-latest, x64, 1)",
13+
"test (1, macOS-latest, x64, 2)",
14+
"test (1.%, windows-latest, x64, 1)",
15+
"test (1.%, windows-latest, x64, 2)",
16+
"test (1, windows-latest, x64, 1)",
17+
"test (1, windows-latest, x64, 2)",
18+
"test (1.%, windows-latest, x64, 1)",
19+
"test (1.%, windows-latest, x64, 2)"
1120
]
1221
delete_merged_branches = true
1322
# Require at least on approval of a project member.

0 commit comments

Comments
 (0)