Added vendor test

This commit is contained in:
notzippy@gmail.com
2022-04-21 15:10:51 -07:00
parent 4c7ddf5567
commit b7b15f820c

View File

@@ -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