Unverified Commit a2bebdc6 by Ayub-khan Committed by GitHub

Merge pull request #420 from edx/LEARNER-2556-travis-validate-translations-check

Updated travis validate translations
parents 16d449c6 981fa7d9
......@@ -14,6 +14,7 @@ install:
before_script:
- npm install -g gulp-cli
script:
- make validate_translations
- make test-all
- make test-js
after_success:
......
......@@ -91,9 +91,12 @@ pull_translations: ## pull translations from Transifex
push_translations: ## push source translation files (.po) from Transifex
tx push -s
validate_translations: ## Test translation files
cd edx_proctoring && i18n_tool validate -v
dummy_translations: ## generate dummy translation (.po) files
cd edx_proctoring && i18n_tool dummy
build_dummy_translations: extract_translations dummy_translations compile_translations ## generate and compile dummy translation files
validate_translations: build_dummy_translations detect_changed_source_translations ## validate translations
check_translations_up_to_date: build_dummy_translations detect_changed_source_translations ## validate translations
......@@ -2,7 +2,7 @@
diff-cover # Changeset diff test coverage
edx_lint==0.5.5 # Python code linting rules
edx-i18n-tools # For i18n_tool dummy
edx-i18n-tools==0.4.4 # For i18n_tool dummy
pip-tools # Requirements file management
tox # virtualenv management for tests
tox-battery # Makes tox aware of requirements file changes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment