machine:
pre:
- curl -sS https://static.rust-lang.org/rustup.sh > rustup.sh
- chmod +x ./rustup.sh
- ./rustup.sh --yes
- sudo apt-get update; sudo apt-get install openssl
- git clone --bare https://github.com/rust-lang/crates.io-index.git
- mkdir ${HOME}/.cargo
- |
cat >> ${HOME}/.cargo/config <<EOF
[registry]
index = "file://${HOME}/crates.io-index.git"
EOF
environment:
FOO: BAR
test:
override:
- cargo build --verbose -j 2
general:
branches:
ignore:
- gh-pages