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