forked from rust-lang/git2-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (44 loc) · 1.24 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: rust
rust:
- stable
- beta
- nightly
sudo: false
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- cargo test --no-default-features
- cargo test
- cargo run --manifest-path systest/Cargo.toml --release
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
cargo test --features unstable;
cargo test --manifest-path git2-curl/Cargo.toml;
fi
- cargo doc --no-deps
- cargo doc --manifest-path=git2-curl/Cargo.toml --no-deps
- cargo doc --manifest-path=libgit2-sys/Cargo.toml --no-deps
after_success:
- travis-cargo --only nightly doc-upload
- travis-cargo coveralls --no-sudo
notifications:
email:
on_success: never
matrix:
include:
- os: osx
rust: stable
before_install:
- export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
- export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
addons:
apt:
sources:
- kalakris-cmake
packages:
- cmake
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
env:
global:
secure: "SVk5cv4VnBQAoaBXt9pIHk+FQ7Z58zT5EaPo7Ac81LltKztwHovhN/R1otKzgrAJqFsZ/nKR4cGyQGbYtfVJcsqweQVM75LI6Oh6lYyEdfX211ZI3SWQ50JO93CmwLtanC5UpECdXvJLCgXrHGJXuL1oi7hySGy47/yQlKH6eaM="