Skip to content

Commit b7b15f8

Browse files
committed
Added vendor test
1 parent 4c7ddf5 commit b7b15f8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: go
22

33
go:
4-
- "1.13.x"
5-
- "1.14.x"
4+
- "1.18.x"
5+
- "1.17.x"
66
- "tip"
77

88
os:
@@ -66,6 +66,14 @@ script:
6666
- revel new --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp3 --package revelframework.com
6767
- revel test --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp3
6868

69+
# Check vendored version of revel
70+
- cd $INITIALWD
71+
- revel new --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp4 --package revelframework.com
72+
- cd my/testapp4
73+
- go mod vendor
74+
- cd ../..
75+
- revel test --gomod-flags "edit -replace=github.com/revel/revel=github.com/revel/revel@$REVEL_BRANCH" -a my/testapp4
76+
6977
matrix:
7078
allow_failures:
7179
- go: tip

0 commit comments

Comments
 (0)