about summary refs log tree commit diff stats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-12 05:17:10 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-12 05:17:10 -0400
commit99d2df63991069070c5c7434d42ffb968021bd14 (patch)
treefa6db980ec145efbe64595da887822dc120d8783 /.travis.yml
parent42ede0e23ca35f380d36c98f0decb8f76ce56eb8 (diff)
downloadgetwtxt-99d2df63991069070c5c7434d42ffb968021bd14.tar.gz
removed osx build, added race detect and benchmark to travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 043fdca..c4d93ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,6 @@ go:
 
 os: 
   - linux
-  - osx
 
 dist: xenial
 
@@ -22,7 +21,12 @@ before_script:
   - ./cc-test-reporter before-build
 
 script: 
-  - go test -v --coverprofile=c.out
+  - go test -v -race --coverprofile=c.out
   - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
   - cd ..
   - make
+
+after_script:
+  - make clean
+  - cd svc/
+  - go test -v -run=NONE -bench . -benchmem