Skip to content

Commit

Permalink
Merge e9e224a into e534c7f
Browse files Browse the repository at this point in the history
  • Loading branch information
griffobeid committed Nov 17, 2019
2 parents e534c7f + e9e224a commit 70dc299
Showing 1 changed file with 17 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

0 comments on commit 70dc299

Please sign in to comment.