Browse Source

travis: fix functional tests

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee 6 years ago
parent
commit
4f1e65418f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .travis.yml

+ 3 - 3
.travis.yml

@@ -45,10 +45,10 @@ script:
         GOARCH=amd64 CPU=4 PASSES='integration' ./test
         GOARCH=amd64 CPU=4 PASSES='integration' ./test
         ;;
         ;;
       linux-amd64-functional)
       linux-amd64-functional)
-        GOARCH=amd64 PASSES='functional' ./test
+        ./build && GOARCH=amd64 PASSES='functional' ./test
         ;;
         ;;
       linux-amd64-unit)
       linux-amd64-unit)
-        GOARCH=amd64 PASSES='unit' ./test
+        ./build && GOARCH=amd64 PASSES='unit' ./test
         ;;
         ;;
       linux-amd64-e2e)
       linux-amd64-e2e)
         GOARCH=amd64 PASSES='build release e2e' MANUAL_VER=v3.3.13 ./test
         GOARCH=amd64 PASSES='build release e2e' MANUAL_VER=v3.3.13 ./test
@@ -61,6 +61,6 @@ script:
           && GO_BUILD_FLAGS='-v' GOARCH=ppc64le ./build
           && GO_BUILD_FLAGS='-v' GOARCH=ppc64le ./build
         ;;
         ;;
       linux-386-unit)
       linux-386-unit)
-        GOARCH=386 PASSES='unit' ./test
+        GOARCH=386 ./build && GOARCH=386 PASSES='unit' ./test
         ;;
         ;;
     esac
     esac