Added travis

This commit is contained in:
timonpost@hotmail.nl 2018-11-22 16:05:08 +01:00 committed by Timon
parent b82736912d
commit 49f104d787
4 changed files with 28 additions and 2 deletions

View File

@ -7,7 +7,7 @@
use super::commands::{self, IAlternateScreenCommand};
use super::{RawScreen, Screen, TerminalOutput};
use common::functions;
use std::convert::From;
use std::io;

View File

@ -16,6 +16,7 @@ use self::winapi_output::WinApiOutput;
pub use self::output::TerminalOutput;
use std::io;
use super::functions;
/// This trait defines represents an stdout of an screen.
/// This trait can be implemented so that an concrete implementation of the IStdout can forfill

View File

@ -1,7 +1,7 @@
use super::IStdout;
use common::commands::win_commands::RawModeCommand;
use kernel::windows_kernel::{handle, writing};
use screen::RawScreen;
use common::screen::RawScreen;
use winapi::um::winnt::HANDLE;
use std::any::Any;

25
travis.yml Normal file
View File

@ -0,0 +1,25 @@
# Set up the Rust toolchain.
language: rust
rust:
- stable
- beta
- nightly
before_script:
- export PATH=$PATH:/home/travis/.cargo/bin
- export RUSTFLAGS="-D warnings"
os:
- linux
- osx
- windows
branches:
only:
- staging
- trying
- master
- /release-.*/
script:
- cargo build