From 0cc1785fd091a068d8ba23cf79b6bb171cd5747d Mon Sep 17 00:00:00 2001
From: Nik <njunger@uwaterloo.ca>
Date: Wed, 4 Feb 2015 15:39:04 -0500
Subject: [PATCH] Travis CI integration

---
 .travis.yml | 20 ++++++++++++++++++++
 README.md   |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e457155
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: go
+
+go:
+- 1.4
+
+before_install: sudo apt-get update
+install:
+- sudo apt-get install libgmp-dev
+- wget --no-check-certificate https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
+- tar xvf pbc-0.5.14.tar.gz
+- rm pbc-0.5.14.tar.gz
+- cd pbc-0.5.14
+- ./setup
+- ./configure
+- make
+- sudo make install
+- sudo ldconfig
+- cd ..
+- rm -rf pbc-0.5.14
+- go get -t ./...
diff --git a/README.md b/README.md
index 6d36ea5..904d5cb 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# The PBC Go Wrapper
+# The PBC Go Wrapper [![Build Status](https://travis-ci.org/Nik-U/pbc.svg)](https://travis-ci.org/Nik-U/pbc) [![GoDoc](https://godoc.org/github.com/Nik-U/pbc?status.svg)](https://godoc.org/github.com/Nik-U/pbc)
 
 Package pbc provides structures for building pairing-based cryptosystems. It
 is a wrapper around the Pairing-Based Cryptography (PBC) Library authored by
-- 
GitLab