Skip to content

Commit 47490f4

Browse files
committed
update travis script
1 parent d55153b commit 47490f4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ install:
1010
- (cd SDL2-2.0.5 && ./configure && make && sudo make install)
1111
script:
1212
- cargo build -v
13-
- cargo test --no-run
13+
- cargo test --no-run --features="use-sdl2 use-image"

src/plotter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ impl Drop for Plotter {
5555
}
5656

5757
#[cfg(test)]
58+
#[cfg(feature="use-sdl2")]
5859
mod test {
5960
use super::*;
6061
use plotbuilder::*;

0 commit comments

Comments
 (0)