aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Dremann <dremann@gmail.com>2014-06-09 09:09:57 -0400
committerZachary Dremann <dremann@gmail.com>2014-06-09 09:45:07 -0400
commitc64d92f9883d7873aac7e2102c353a3daa28723d (patch)
tree9ba0ef87d0bc7ab9c6ea93796bab34ab0be6891c
parentb4643e1d1ec8f447d36f3794f3a051a64a090d16 (diff)
downloadrusty-irc-c64d92f9883d7873aac7e2102c353a3daa28723d.tar.gz
rusty-irc-c64d92f9883d7873aac7e2102c353a3daa28723d.zip
Add travis-ci integration
-rw-r--r--.travis.yml8
-rw-r--r--examples/client.rs (renamed from examples/main.rs)0
-rw-r--r--examples/hello.rs4
3 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..52437b6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,8 @@
+before_install:
+ - yes | sudo add-apt-repository ppa:hansjorg/rust
+ - sudo apt-get update
+install:
+ - sudo apt-get install rust-nightly
+script:
+ - make lib examples
+
diff --git a/examples/main.rs b/examples/client.rs
index 6ec9134..6ec9134 100644
--- a/examples/main.rs
+++ b/examples/client.rs
diff --git a/examples/hello.rs b/examples/hello.rs
deleted file mode 100644
index 6f8dfa1..0000000
--- a/examples/hello.rs
+++ /dev/null
@@ -1,4 +0,0 @@
-fn main() {
- println!("Hello!");
-}
-