Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (53 sloc) 1.44 KB
# 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
You can’t perform that action at this time.