Add travis.yml

This will run automated tests against PR's for the groupcache library.
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ef6e676
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+language: go
+go_import_path: github.com/golang/groupcache
+
+os: linux
+dist: trusty
+sudo: false
+
+script:
+  - go test ./...
+
+go:
+  - 1.9.x
+  - 1.10.x
+  - master
+
+cache:
+  directories:
+    - $GOPATH/pkg