From 1e5488ce10def95ef2a74ca6708ba2e13e4d2182 Mon Sep 17 00:00:00 2001
From: Renan DelValle <renanidelvalle+noreply@gmail.com>
Date: Mon, 13 Aug 2018 16:41:48 -0700
Subject: [PATCH] Simplyfing travis CI run since Linux has better support for
 bridge mode. Renamving runTests.sh to runTestsMac.sh since no container is
 needed for Linux.

---
 .travis.yml                   | 11 ++++++++---
 runTests.sh => runTestsMac.sh |  2 +-
 2 files changed, 9 insertions(+), 4 deletions(-)
 rename runTests.sh => runTestsMac.sh (74%)

diff --git a/.travis.yml b/.travis.yml
index 684cbef..bd0cf57 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,15 @@
 sudo: required
 
+language: go
+
+go:
+  - "1.10.x"
+
 services:
   - docker
 
-install: true
-  - docker-compose -d up
+install:
+  - docker-compose up -d
 
 script:
-  - ./runTest.sh
+  - go test -v github.com/paypal/gorealis
diff --git a/runTests.sh b/runTestsMac.sh
similarity index 74%
rename from runTests.sh
rename to runTestsMac.sh
index d9ca667..fcc17b1 100755
--- a/runTests.sh
+++ b/runTestsMac.sh
@@ -1,4 +1,4 @@
 #!/bin/bash
 
 # Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
-docker run -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10.3-stretch  go test github.com/paypal/gorealis
+docker run -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10.3-stretch  go test -v github.com/paypal/gorealis