Skip to content

Commit 73df714

Browse files
committed
Updated Ci and documentation config
1 parent 0460832 commit 73df714

File tree

2 files changed

+23
-27
lines changed

2 files changed

+23
-27
lines changed

.travis.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
language: rust
2+
rust:
3+
- nightly
4+
- beta
5+
- stable
6+
before_script:
7+
- |
8+
pip install 'travis-cargo<0.2' --user &&
9+
export PATH=$HOME/.local/bin:$PATH
10+
script:
11+
- |
12+
travis-cargo build &&
13+
travis-cargo test &&
14+
travis-cargo bench &&
15+
travis-cargo --only stable doc
16+
after_success:
17+
- travis-cargo --only stable doc-upload
218
env:
319
global:
4-
- secure: M9/ZDZMaLRBlM5uzmbQQEClBzy7aoaiSz6UVjepXsH9Q1+9bIO8WVAS8Pi2ywkSv+W7EUCkQNKx+zNt9jIkNb366dQxf8/cbhQPnJ9xpleo5CkA3Iul1aXGMusQU9IDDtaTuj0k0FUhiLxPaq/T4uogQ/QZGUypmKM8oRe13N1A=
5-
script:
6-
- cargo build --verbose
7-
- cargo test --verbose
8-
- cargo doc
9-
- cp -r ./target/doc ./doc
10-
after_script:
11-
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
20+
- TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
21+
- secure: YXu24LptjeYirjWYjWGsMT2m3mB7LvQATE6TVo7VEUXv8GYoy2ORIHD83PeImxC93MmZ01QeUezRzuCW51ZcK92VnNSBttlF60SvIX18VsJrV92tsAhievFstqYQ+fB8DIuQ8noU0jPz7GpI+R9dlTRSImAqWOnVIghA+Wzz7Js=

Cargo.toml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
11
[package]
2-
32
name = "lazy_static"
4-
version = "0.1.12"
5-
authors = [ "Marvin Löbel <[email protected]>" ]
3+
version = "0.1.13"
4+
authors = ["Marvin Löbel <[email protected]>"]
5+
license = "MIT"
66

7-
# A short blurb about the package. This is not rendered in any format when
8-
# uploaded to crates.io (aka this is not markdown)
97
description = "A macro for declaring lazily evaluated statics in Rust."
10-
11-
# These URLs point to more information about the repository
12-
documentation = "http://rust-ci.org/Kimundi/lazy-static.rs/doc/lazy_static/"
13-
repository = "https://github.com/Kimundi/lazy-static.rs"
14-
15-
# This points to a file in the repository (relative to this Cargo.toml). The
16-
# contents of this file are stored and indexed in the registry.
178
readme = "README.md"
9+
documentation = "http://kimundi.github.io/lazy-static.rs/lazy_static/index.html"
1810

19-
# This is a small list of keywords used to categorize and search for this
20-
# package.
11+
repository = "https://github.com/Kimundi/lazy-static.rs"
2112
keywords = ["macro", "lazy", "static"]
22-
23-
# This is a string description of the license for this package. Currently
24-
# crates.io will validate the license provided against a whitelist of known
25-
# licenses. Multiple licenses can be separated with a `/`
26-
license = "MIT"

0 commit comments

Comments
 (0)