travis: drop distribution related change check.
Managed to get the spec building quick enough it does not matter and the check would need to be more complicated to not miss a variety of cases.
This commit is contained in:
parent
b7b3f928a6
commit
6cca8f6ef3
@ -6,15 +6,6 @@ matrix:
|
|||||||
- docker
|
- docker
|
||||||
language: bash
|
language: bash
|
||||||
before_install:
|
before_install:
|
||||||
- |
|
|
||||||
# Always run on custom branches in main project as diff does not work.
|
|
||||||
if [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
|
|
||||||
echo "Checking to see if skippable..."
|
|
||||||
if ! git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep -qE '^(\.travis.yml|dist\/.*)$' ; then
|
|
||||||
echo "No distribution related changes, stopping build process."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
- docker build -f dist/ci/Dockerfile -t spec .
|
- docker build -f dist/ci/Dockerfile -t spec .
|
||||||
script:
|
script:
|
||||||
- docker run -it spec ./dist/ci/spec.sh
|
- docker run -it spec ./dist/ci/spec.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user