-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
21 lines (21 loc) · 847 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: rust
rust:
- stable
cache: cargo
env:
# Limit number of samples so build doesn't take forever
- SAMPLES=2
jobs:
include:
- stage: build
script:
- cargo build --verbose --release --all --examples
- cargo test --verbose --release --all
- cargo build --verbose --release --all --examples --features render_bounding_volumes
- cargo build --verbose --release --all --examples --features flat_scene
- cargo build --verbose --release --all --examples --features kdtree
- stage: run all examples
script: source ./run-all-examples.sh --verbose
- script: source ./run-all-examples.sh --verbose --features render_bounding_volumes
- script: source ./run-all-examples.sh --verbose --features flat_scene
- script: source ./run-all-examples.sh --verbose --features kdtree