Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
old-raft-rs/.travis.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
61 lines (53 sloc)
1.44 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use containers | |
sudo: false | |
# Yup we use rust. | |
language: rust | |
# Test only on nightly for now. | |
rust: | |
- nightly | |
env: | |
global: | |
- secure: eotueXoyGdW2TIser1HAj5I1l5KAmRww5tW5uMNWA7ytVrwibQ4qVCUhMZ3ZUBXWJsMvsebdXnmfqKwyZ84FqjPmsYv9WTfzatYyMcMUlzkPITfsUoJ03fcUcKc4gVyV5SifIuDWCWBMX+LG6eU3I/CqjgOFw6NrBoHhLTwh4yc= | |
- CC=gcc-4.8 | |
- CXX=g++-4.8 | |
- RUST_LOG=raft=debug | |
- RUST_BACKTRACE=1 | |
- TRAVIS_CARGO_NIGHTLY_FEATURE="" | |
# `sudo`-less apt install. | |
addons: | |
apt: | |
sources: | |
- ubuntu-toolchain-r-test | |
packages: | |
# Needed for building Cap'n Proto. | |
- gcc-4.8 | |
- g++-4.8 | |
# Needed for `travis-cargo coveralls --no-sudo` | |
- libcurl4-openssl-dev | |
- libelf-dev | |
- libdw-dev | |
# We need to install Cap'n Proto. | |
install: | |
- git clone https://github.com/kentonv/capnproto.git | |
- cd capnproto/c++ | |
# Use master to avoid autotools breakage (13 May 2016) | |
#- git checkout release-0.5.3 | |
- ./setup-autotools.sh | |
- autoreconf -i | |
- ./configure --disable-shared | |
- make -j5 | |
- export PATH="$PATH:$(pwd)" | |
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$(pwd)" | |
- cd ../.. | |
# Load `travis-cargo` | |
before_script: | |
- pip install 'travis-cargo' --user | |
- export PATH=$HOME/.local/bin:$PATH | |
script: | |
- travis-cargo build | |
- travis-cargo test | |
- travis-cargo doc | |
# Generate Docs and coverage | |
after_success: | |
- travis-cargo doc-upload | |
- travis-cargo coveralls --no-sudo |