File: .travis.yml

package info (click to toggle)
rust-petgraph 0.4.13-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 788 kB
  • sloc: makefile: 25
file content (34 lines) | stat: -rw-r--r-- 981 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
27
28
29
30
31
32
33
34
language: rust
sudo: false
matrix:
  include:
    - rust: 1.12.0
      before_script:
        # rand 0.4.2 requires rust 1.15, and rand-0.3.22 requires rand-0.4  :/
        # manually hacking the lockfile due to the limitations of cargo#2773
        - cargo generate-lockfile
        - sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' Cargo.lock
        - sed -i -e '/^name = "rand"/,/^$/s/version = "0.3.[0-9]\+"/version = "0.3.20"/' Cargo.lock
      env:
      - ALL=' '
    - rust: 1.15.0
      env:
      - ALL=' '
    - rust: stable
      env:
      - FEATURES='unstable quickcheck'
    - rust: beta
    - rust: nightly
    - rust: nightly
      env:
       - FEATURES='unstable quickcheck'
       - BENCH=1
branches:
  only:
    - master
script:
  - |
      cargo build --verbose --no-default-features &&
      cargo test --verbose --no-default-features &&
      cargo build --verbose --features "$FEATURES" &&
      cargo test ${ALL:---all} --verbose --features "$FEATURES"