Skip to content

Commit f1aaf99

Browse files
authored
Switch from Travis to Github CI (#63)
* Add Github CI * Delete .travis.yml * Update badges * Remove empty line
1 parent 8f22183 commit f1aaf99

File tree

3 files changed

+61
-16
lines changed

3 files changed

+61
-16
lines changed

.github/workflows/CI.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
version:
17+
- '1.0'
18+
- '1'
19+
- 'nightly'
20+
os:
21+
- ubuntu-latest
22+
- macOS-latest
23+
arch:
24+
- x64
25+
include:
26+
- version: '1'
27+
os: ubuntu-latest
28+
arch: x64
29+
coverage: true
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: julia-actions/setup-julia@v1
33+
with:
34+
version: ${{ matrix.version }}
35+
arch: ${{ matrix.arch }}
36+
- uses: actions/cache@v1
37+
env:
38+
cache-name: cache-artifacts
39+
with:
40+
path: ~/.julia/artifacts
41+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
42+
restore-keys: |
43+
${{ runner.os }}-test-${{ env.cache-name }}-
44+
${{ runner.os }}-test-
45+
${{ runner.os }}-
46+
- uses: julia-actions/julia-buildpkg@v1
47+
- uses: julia-actions/julia-runtest@v1
48+
- uses: julia-actions/julia-processcoverage@v1
49+
if: matrix.coverage
50+
- uses: codecov/codecov-action@v1
51+
if: matrix.coverage
52+
with:
53+
file: lcov.info
54+
- uses: coverallsapp/github-action@master
55+
if: matrix.coverage
56+
with:
57+
github-token: ${{ secrets.GITHUB_TOKEN }}
58+
path-to-lcov: ./lcov.info

.travis.yml

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ToeplitzMatrices.jl
22
===========
33

4-
[![Build Status](https://travis-ci.com/JuliaMatrices/ToeplitzMatrices.jl.svg?branch=master)](https://travis-ci.com/JuliaMatrices/ToeplitzMatrices.jl)
5-
[![codecov](https://codecov.io/gh/JuliaMatrices/ToeplitzMatrices.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaMatrices/ToeplitzMatrices.jl)
6-
[![Coverage Status](https://coveralls.io/repos/github/JuliaMatrices/ToeplitzMatrices.jl/badge.svg?branch=master&bust=1)](https://coveralls.io/github/JuliaMatrices/ToeplitzMatrices.jl?branch=master)
4+
[![Build Status](https://github.com/JuliaMatrices/ToeplitzMatrices.jl/workflows/CI/badge.svg?branch=master)](https://github.com/JuliaMatrices/ToeplitzMatrices.jl/actions/workflows/CI.yml?query=branch%3Amaster)
5+
[![Coverage](https://codecov.io/gh/JuliaMatrices/ToeplitzMatrices.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaMatrices/ToeplitzMatrices.jl)
6+
[![Coverage](https://coveralls.io/repos/github/JuliaMatrices/ToeplitzMatrices.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaMatrices/ToeplitzMatrices.jl?branch=master)
77

88
Fast matrix multiplication and division
99
for Toeplitz, Hankel and circulant matrices in Julia

0 commit comments

Comments
 (0)