summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6106df1ad5080eaa227c5180b1207d59017faaa7 (plain)
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
language: rust
sudo: required
dist: trusty
addons:
  apt:
    packages:
      - libssl-dev
cache: cargo
rust:
  - nightly

before_cache: |
  # RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f

install:
- cargo build --release --all --all-features

script:
- cargo test --release --all --all-features

after_success: |
  # Uncomment the following line for coveralls.io
  # cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID

  # Uncomment the following two lines create and upload a report for codecov.io
  # cargo tarpaulin --out Xml
  # bash <(curl -s https://codecov.io/bash)