Skip to content

Commit

Permalink
Merge b9d85da into e534c7f
Browse files Browse the repository at this point in the history
  • Loading branch information
griffobeid committed Nov 17, 2019
2 parents e534c7f + b9d85da commit 9f2368b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,11 @@ language: rust

cache: cargo

addons:
apt:
packages:
- libssl-dev

matrix:
include:
- env: GEO_TYPES_FEATURES=""
Expand All @@ -12,6 +17,11 @@ matrix:
- env: GEO_FEATURES="--features use-proj"
- env: GEO_FEATURES="--features use-serde"

before_cache:
- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
cargo install cargo-tarpaulin -f;
fi

before_install:
- if [ "${GEO_FEATURES}" == "--features use-proj" ]; then
sudo apt-get update;
Expand All @@ -23,3 +33,10 @@ before_install:
script:
- (cd geo-types && cargo build --release $GEO_TYPES_FEATURES && cargo test --release $GEO_TYPES_FEATURES)
- (cd geo && cargo build --release $GEO_FEATURES && cargo test --release $GEO_FEATURES)

after_success:
- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
if [[ "${GEO_FEATURES}" == "" ]]; then
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID;
fi
fi
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/georust/geo.svg?branch=master)](https://travis-ci.org/georust/geo)
[![geo on Crates.io](https://meritbadge.herokuapp.com/geo)](https://crates.io/crates/geo)
[![Coverage Status](https://coveralls.io/repos/github/georust/geo/badge.svg?branch=trying)](https://coveralls.io/github/georust/geo?branch=trying)

# geo

Expand Down

0 comments on commit 9f2368b

Please sign in to comment.