File: .travis.yml

package info (click to toggle)
rust-parking-lot-0.7 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 284 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 804 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
35
36
37
38
39
language: rust
sudo: false

rust:
- 1.24.0
- 1.26.2
- stable
- beta
- nightly

before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH

script:
- cd core;
- travis-cargo build;
- cd ../lock_api;
- travis-cargo build;
- cd ..;
- travis-cargo build
- travis-cargo test
- travis-cargo --only stable test -- --features=deadlock_detection
- travis-cargo --only beta test -- --features=deadlock_detection
- travis-cargo --only nightly doc -- --all-features --no-deps -p parking_lot -p parking_lot_core -p lock_api
- cd benchmark
- travis-cargo build
- cargo run --release --bin mutex -- 2 1 0 1 2
- cargo run --release --bin rwlock -- 1 1 1 0 1 2
- cd ..

env:
  global:
  - TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
  - RUST_TEST_THREADS=1

notifications:
  email: false