aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml47
-rw-r--r--.travis.yml7
-rw-r--r--README.md2
3 files changed, 48 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..2896433
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,47 @@
+name: CI
+on:
+ pull_request:
+ branches:
+ - master
+ push:
+ branches:
+ - master
+ tags: '*'
+jobs:
+ test:
+ name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ version:
+ - '1' # This automatically expands to the latest stable 1.x release.
+ - 'nightly'
+ os:
+ - ubuntu-latest
+ - macos-latest
+ - windows-latest
+ arch:
+ - x64
+ steps:
+ - uses: actions/checkout@v2
+ - uses: julia-actions/setup-julia@v1
+ with:
+ version: ${{ matrix.version }}
+ arch: ${{ matrix.arch }}
+ - uses: actions/cache@v1
+ env:
+ cache-name: cache-artifacts
+ with:
+ path: ~/.julia/artifacts
+ key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
+ restore-keys: |
+ ${{ runner.os }}-test-${{ env.cache-name }}-
+ ${{ runner.os }}-test-
+ ${{ runner.os }}-
+ - uses: julia-actions/julia-buildpkg@v1
+ - uses: julia-actions/julia-runtest@v1
+ - uses: julia-actions/julia-processcoverage@v1
+ - uses: codecov/codecov-action@v1
+ with:
+ file: lcov.info
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index d8a0029..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: julia
-
-julia:
- - nightly
- - 1.4
-
-codecov: true
diff --git a/README.md b/README.md
index e756d21..85ef2c8 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Unmarked.jl
-[![Build Status](https://travis-ci.org/kenkellner/Unmarked.jl.svg?branch=master)](https://travis-ci.org/kenkellner/Unmarked.jl)
+[![Build Status](https://github.com/kenkellner/Unmarked.jl/workflows/CI/badge.svg)](https://github.com/kenkellner/Unmarked.jl/actions)
[![codecov](https://codecov.io/gh/kenkellner/Unmarked.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/kenkellner/Unmarked.jl)
Unofficial Julia port of the R package [unmarked](https://cran.r-project.org/web/packages/unmarked/index.html), for analyzing ecological data while accounting for imperfect detection.