summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-14 01:06:33 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-14 01:06:33 -0400
commitc5daf914198948ef96cb463641ecc734471bcdd5 (patch)
tree5c0d1e4bba295740fb8ce5f81ad7c6c9194c7886
parent79c5696cb46abb110966f7db1bf2d55dbc63bb1d (diff)
downloadgetwtxt-c5daf914198948ef96cb463641ecc734471bcdd5.tar.gz
updated travis for recursive tests
-rw-r--r--.travis.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index c4d93ff..92d7bd0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,18 +15,15 @@ env:
 before_script:
   - sudo apt-get update
   - sudo apt-get install -y libc6:i386 libstdc++6:i386
-  - cd svc/
   - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
   - chmod +x ./cc-test-reporter
   - ./cc-test-reporter before-build
 
 script: 
-  - go test -v -race --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
+  - go test -v -run=NONE -bench . -benchmem ./...