Browse Source

codec: correct travis.yml

Ugorji Nwoke 8 years ago
parent
commit
0993a165d4
1 changed files with 5 additions and 5 deletions
  1. 5 5
      .travis.yml

+ 5 - 5
.travis.yml

@@ -5,10 +5,10 @@ go:
   - 1.9.x
   - tip
 script:
-  - cd codec && go test -tags "alltests " -run Suite -coverprofile default.cover.txt
-  - cd codec && go test -tags "alltests safe" -run Suite -coverprofile safe.cover.txt
-  - cd codec && go test -tags "alltests notfastpath" -run Suite -coverprofile notfastpath.cover.txt
-  - cd codec && go test -tags "alltests notfastpath safe" -run Suite -coverprofile notfastpath-safe.cover.txt
+  - go test -tags "alltests " -run Suite -coverprofile default.cover.txt github.com/ugorji/go/codec
+  - go test -tags "alltests safe" -run Suite -coverprofile safe.cover.txt github.com/ugorji/go/codec
+  - go test -tags "alltests notfastpath" -run Suite -coverprofile notfastpath.cover.txt github.com/ugorji/go/codec
+  - go test -tags "alltests notfastpath safe" -run Suite -coverprofile notfastpath-safe.cover.txt github.com/ugorji/go/codec
 after_success:
-  - cd codec && bash <(curl -s https://codecov.io/bash) -t d363f760-34c1-4232-8c47-569fe7c02549 -f '*.cover.txt'
+  - bash <(curl -s https://codecov.io/bash) -t d363f760-34c1-4232-8c47-569fe7c02549 -f '*.cover.txt'