Skip to content

Commit

Permalink
0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xd009642 committed Oct 30, 2019
2 parents d748096 + 35cb459 commit c5e8e09
Show file tree
Hide file tree
Showing 36 changed files with 968 additions and 398 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
tags:
- '*.*.*'

jobs:
release-crates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: publish package to crates
run: |
cargo package
cargo publish --token ${{ secrets.CARGO_TOKEN }}
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: build
run: cargo build --release
- name: archive
run: |
GIT_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
tar -C target/release -czf $(pwd)/cargo-tarpaulin-${GIT_TAG}-travis.tar.gz cargo-tarpaulin
- name: publish release
uses: softprops/action-gh-release@v1
with:
files: cargo-tarpaulin-*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49 changes: 49 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build

on:
push:
branches:
- "*"
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- stable
- beta
- nightly
fail-fast: false
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.version }}
override: true
components: rustfmt
- name: clean
run: cargo clean
- name: check formatting
run: cargo fmt -- --check
- name: build
run: cargo build --verbose
env:
RUST_BACKTRACE: 1
- name: test
run: cargo test -- --test-threads 1
env:
RUST_BACKTRACE: 1
- name: ignored test
run: cargo test -- --test-threads 1 --ignored || true
env:
RUST_BACKTRACE: 1
if: matrix.version == 'nightly'
- name: notify docker hub
run: |
curl --request POST \
--header 'Content-Type: application/json' \
--data '{"build": true}' \
https://registry.hub.docker.com/u/xd009642/tarpaulin/trigger/${{ secrets.DOCKER_TOKEN }}/
if: github.ref == 'ref/heads/master' || github.ref == 'refs/heads/develop'
43 changes: 0 additions & 43 deletions .travis.yml

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ file.

### Removed

## [0.9.1] 2019-10-30
### Added
- Sets an environment variable `TARPAULIN` to `1` when starting so inferiors can detect coverage runs
- Limit the processor affinity to a single core to solve #190

### Changed
- Switch from travis-ci to github actions

### Removed

## [0.9.0] 2019-10-03
### Added

Expand Down
Loading

0 comments on commit c5e8e09

Please sign in to comment.