Check that worktree is clean before running
Without this, we miss cases where the lock files may need to be updated and we encode a version like v0.9.5-dirty.
This commit is contained in:
parent
680a09a164
commit
b0efb6960d
|
@ -37,6 +37,9 @@ install:
|
|||
# Clone the Pulumi-wide repo so we can use its scripts.
|
||||
- git clone git@github.com:pulumi/home ${GOPATH}/src/github.com/pulumi/home
|
||||
- make ensure
|
||||
before_script:
|
||||
# Ensure the working tree is clean (make ensure may have updated lock files)
|
||||
- ${GOPATH}/src/github.com/pulumi/home/scripts/check-worktree-is-clean.sh
|
||||
script:
|
||||
- make travis_${TRAVIS_EVENT_TYPE} TEST_FAST_TIMEOUT=10m
|
||||
notifications:
|
||||
|
|
Loading…
Reference in a new issue