2018-07-23 09:28:48 +00:00
|
|
|
language: python
|
2019-02-26 15:14:27 +00:00
|
|
|
dist: xenial
|
2019-08-13 08:40:18 +00:00
|
|
|
python: 3.7
|
2018-07-23 22:03:48 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
2018-10-06 15:19:50 +00:00
|
|
|
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
|
2018-07-23 22:03:48 +00:00
|
|
|
install:
|
2019-03-14 21:43:14 +00:00
|
|
|
- pip install pospell "powrap>=0.3.0"
|
2018-07-29 21:53:47 +00:00
|
|
|
- pospell --version
|
2019-03-14 21:43:14 +00:00
|
|
|
- powrap --version
|
2018-07-23 09:28:48 +00:00
|
|
|
script:
|
2019-11-18 21:12:26 +00:00
|
|
|
- printf "%s\n" "$TRAVIS_COMMIT_RANGE"
|
2019-11-15 22:42:25 +00:00
|
|
|
- CHANGED_FILES="$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.po$';:)"
|
2019-11-17 12:15:41 +00:00
|
|
|
- 'printf "%s files changed.\n" "$(printf "%s" "$CHANGED_FILES" | wc -l)"'
|
2019-11-17 12:34:55 +00:00
|
|
|
- 'printf -- "- %s\n" $CHANGED_FILES | grep -v "^- $" || :'
|
2019-11-18 21:12:26 +00:00
|
|
|
- 'powrap --check --quiet *.po */*.po'
|
|
|
|
- 'pospell -p dict -l fr_FR *.po */*.po'
|
|
|
|
- 'make CPYTHON_CLONE=/tmp/cpython/ COMMIT=4d1abedce9422473af2ac78047e55cde73208208'
|