From b7b15f820ceb2316a150fb079c84a72a7e76e772 Mon Sep 17 00:00:00 2001 From: "notzippy@gmail.com" Date: Thu, 21 Apr 2022 15:10:51 -0700 Subject: [PATCH] Added vendor test --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 606fdb8c..0e38b2ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: go go: - - "1.13.x" - - "1.14.x" + - "1.18.x" + - "1.17.x" - "tip" os: @@ -66,6 +66,14 @@ script: - revel new --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp3 --package revelframework.com - revel test --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp3 + # Check vendored version of revel + - cd $INITIALWD + - revel new --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp4 --package revelframework.com + - cd my/testapp4 + - go mod vendor + - cd ../.. + - revel test --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp4 + matrix: allow_failures: - go: tip