Simple build script and travis config.
This commit is contained in:
parent
1a29d6f451
commit
d75905d5df
2 changed files with 21 additions and 0 deletions
11
.travis.yml
Normal file
11
.travis.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
dist: trusty
|
||||
sudo: false
|
||||
|
||||
language: rust
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
cache: cargo
|
||||
|
||||
script: bin/build
|
10
bin/build
Executable file
10
bin/build
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
cargo +stable build --verbose;
|
||||
|
||||
cargo +nightly test --verbose;
|
||||
cargo +nightly test --verbose --no-default-features;
|
||||
|
||||
cargo +stable doc --verbose;
|
||||
cargo +nightly doc --verbose;
|
Loading…
Reference in a new issue