Skip to content

Commit

Permalink
Added vendor test
Browse files Browse the repository at this point in the history
  • Loading branch information
notzippy committed Apr 21, 2022
1 parent 4c7ddf5 commit b7b15f8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: go

go:
- "1.13.x"
- "1.14.x"
- "1.18.x"
- "1.17.x"
- "tip"

os:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b7b15f8

Please sign in to comment.