File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 9
9
- pospell --version
10
10
- powrap --version
11
11
script :
12
- - powrap --check --quiet *.po **/*.po
13
- - pospell -p dict -l fr_FR *.po **/*.po
14
- - make CPYTHON_CLONE=/tmp/cpython/ COMMIT=4d1abedce9422473af2ac78047e55cde73208208
12
+ - CHANGED_FILES="$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.po$';:)"
13
+ - echo "$(printf "%s\n" "$CHANGED_FILES" | wc -l) files changed."
14
+ - echo "$CHANGED_FILES" | sed 's/^/- /'
15
+ - ' [ -n "$CHANGED_FILES" ] && powrap --check --quiet $CHANGED_FILES' || echo "Nothing to check"
16
+ - ' [ -n "$CHANGED_FILES" ] && pospell -p dict -l fr_FR $CHANGED_FILES' || echo "Nothing to check"
17
+ - ' [ -n "$CHANGED_FILES" ] && make CPYTHON_CLONE=/tmp/cpython/ COMMIT=4d1abedce9422473af2ac78047e55cde73208208' || echo "Nothing to build"
You can’t perform that action at this time.
0 commit comments