File: .travis.yml

package info (click to toggle)
rust-approx 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: makefile: 4
file content (26 lines) | stat: -rw-r--r-- 486 bytes parent folder | download
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
language: rust

rust:
  - 1.31.0
  - nightly
  - beta
  - stable

cache: cargo

env:
  - CARGO_FEATURES=""
  - CARGO_FEATURES="std"
  - CARGO_FEATURES="std num-complex"

matrix:
  allow_failures:
    - rust: nightly

before_script:
  - if [ "$TRAVIS_RUST_VERSION" == "1.31.0" ]; then rm -f tests/macro_import.rs; fi
  - cargo build --verbose

script:
  - cargo build --verbose --features "$CARGO_FEATURES"
  - cargo test --verbose --features "$CARGO_FEATURES"