summary refs log tree commit diff stats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 81a92e8..043fdca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,15 +16,13 @@ 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: 
-  - cd svc
-  - go test -v --coverprofile=../c.out
+  - go test -v --coverprofile=c.out
+  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
   - cd ..
   - make
-
-after_script:
-  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT