From bef4bef41fbe29c058959feac57970be9c7a793c Mon Sep 17 00:00:00 2001 From: Steven Selph Date: Sun, 5 Jul 2015 22:03:46 -0400 Subject: [PATCH] More test tweaks --- .gitignore | 3 ++- .travis.yml | 7 +------ scripts/run-tests.sh | 6 ++++++ 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100755 scripts/run-tests.sh diff --git a/.gitignore b/.gitignore index fb57dde..cd78f65 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ _testmain.go *.test # My Build Tools -*.sh +build.sh +release.sh *.zip scraper diff --git a/.travis.yml b/.travis.yml index 723bb18..35cb33e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,9 @@ go: env: - GIMME_OS=linux GIMME_ARCH=amd64 - - GIMME_OS=linux GIMME_ARCH=i386 - GIMME_OS=darwin GIMME_ARCH=amd64 - - GIMME_OS=darwin GIMME_ARCH=i386 - GIMME_OS=windows GIMME_ARCH=amd64 - - GIMME_OS=windows GIMME_ARCH=i386 - GIMME_OS=linux GIMME_ARCH=arm GIMME_ARM=6 - - GIMME_OS=linux GIMME_ARCH=arm GIMME_ARM=7 install: @@ -26,5 +22,4 @@ script: - go build -o rename-bin -v ./rename - go build -o mame-history-bin -v ./mame-history - go build -v . - - go test -v ./rom/hash - - go test -v ./ds + - ./scripts/run-tests.sh diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh new file mode 100755 index 0000000..27e759d --- /dev/null +++ b/scripts/run-tests.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -ev +if [ "${GIMME_OS}" = "linux" ]; then + go test -v ./ds + go test -v ./rom/hash +fi