Skip to content

Commit 6dcf892

Browse files
committed
Add travis build
1 parent 0f69975 commit 6dcf892

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
sudo: false
2+
language: rust
3+
rust:
4+
- nightly
5+
- beta
6+
- stable
7+
script:
8+
- cargo build --verbose
9+
addons:
10+
apt:
11+
sources:
12+
- kalakris-cmake
13+
packages:
14+
- cmake

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# crates-mirror
2+
[![Build Status](https://travis-ci.org/weiznich/crates-mirror.svg?branch=master)](https://travis-ci.org/weiznich/crates-mirror)
3+
24

35
Crates-Mirror is a simple tool to provide a caching mirror for [crates.io](https://crates.io/). It's serving a local index which is synced with a remote index. All requested crates are downloaded and cached localy for further usage.
46

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ fn main() {
372372
}
373373

374374

375-
pub fn credentials(url: &str,
375+
pub fn credentials(_url: &str,
376376
user_from_url: Option<&str>,
377377
_cred: git2::CredentialType)
378378
-> Result<git2::Cred, git2::Error> {

0 commit comments

Comments
 (0)