Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-ora2
Commits
644fcbe9
Unverified
Commit
644fcbe9
authored
Apr 09, 2018
by
Ayub-khan
Committed by
GitHub
Apr 09, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1083 from edx/LEARNER-2556-travis-validate-translations-check
Updated travis validate translations
parents
7fa74add
1e1f3dcf
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
Makefile
+5
-1
requirements/base.txt
+1
-0
requirements/quality.txt
+0
-2
tox.ini
+1
-0
No files found.
Makefile
View file @
644fcbe9
...
...
@@ -47,6 +47,10 @@ compile_translations:
generate_dummy_translations
:
i18n_tool dummy
# Test translation files
validate_translations
:
cd
./openassessment/
&&
i18n_tool validate
-v
# check if translation files are up-to-date
detect_changed_source_translations
:
i18n_tool changed
...
...
@@ -60,7 +64,7 @@ push_translations:
tx push
-s
# extract, compile, and check if translation files are up-to-date
validate_translations
:
extract_translations compile_translations generate_dummy_translations detect_changed_source_translations
check_translations_up_to_date
:
extract_translations compile_translations generate_dummy_translations detect_changed_source_translations
################
#Tests and checks
...
...
requirements/base.txt
View file @
644fcbe9
# edX Internal Requirements
edx-i18n-tools==0.4.4
edx-submissions>=2.0.12,<3.0.0
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3
git+https://github.com/edx/XBlock.git@xblock-1.0.1#egg=XBlock==1.0.1
...
...
requirements/quality.txt
View file @
644fcbe9
pep8==1.7.0
git+https://github.com/edx/edx-lint.git@0.5.4#egg=edx_lint==0.5.4
\ No newline at end of file
git+https://github.com/edx/i18n-tools.git@v0.3.9#egg=i18n_tools==0.3.9
\ No newline at end of file
tox.ini
View file @
644fcbe9
...
...
@@ -38,4 +38,5 @@ commands =
npm
install
jscs
--no-save
make
quality
python
manage.py
makemessages
-l
eo
make
check_translations_up_to_date
make
validate_translations
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment