Skip to content

Commit 6d98a9a

Browse files
committed
Added travis
1 parent b47222c commit 6d98a9a

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
dist: trusty
2+
sudo: require
3+
4+
addons:
5+
apt:
6+
sources:
7+
- ubuntu-toolchain-r-test
8+
packages:
9+
- gcc-6
10+
- g++-6
11+
- cmake
12+
13+
language: rust
14+
15+
cache: cargo
16+
17+
rust:
18+
- stable
19+
- nightly
20+
21+
matrix:
22+
allow_failures:
23+
- rust: nightly
24+
fast_finish: true
25+
26+
script:
27+
- cargo build --release
28+
- cargo build --release --features no_secure

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Mimalloc Rust
2+
[![Build Status](https://travis-ci.org/purpleprotocol/mimalloc_rust.svg?branch=master)](https://travis-ci.org/purpleprotocol/mimalloc_rust) [![Latest Version]][crates.io] [![Documentation]][docs.rs]
23

34
A drop-in global allocator wrapper around the [mimalloc](https://github.com/microsoft/mimalloc) allocator.
45
Mimalloc is a general purpose, performance oriented allocator built by Microsoft.
@@ -20,3 +21,8 @@ In `Cargo.toml`:
2021
[dependencies]
2122
mimalloc = { version = "*", features = ["no_secure"] }
2223
```
24+
25+
[crates.io]: https://crates.io/crates/mimalloc
26+
[Latest Version]: https://img.shields.io/crates/v/mimalloc.svg
27+
[Documentation]: https://docs.rs/mimalloc/badge.svg
28+
[docs.rs]: https://docs.rs/mimalloc

0 commit comments

Comments
 (0)