Commit 7373bc0b authored by Phil Hughes's avatar Phil Hughes Committed by Ruben Davila

updated gitlab-ci.yml to compile locale

parent bea0d4e4
...@@ -193,6 +193,7 @@ setup-test-env: ...@@ -193,6 +193,7 @@ setup-test-env:
script: script:
- node --version - node --version
- yarn install --pure-lockfile --cache-folder .yarn-cache - yarn install --pure-lockfile --cache-folder .yarn-cache
- bundle exec rake gettext:po_to_json
- bundle exec rake gitlab:assets:compile - bundle exec rake gitlab:assets:compile
- bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init' - bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts: artifacts:
...@@ -433,6 +434,7 @@ gitlab:assets:compile: ...@@ -433,6 +434,7 @@ gitlab:assets:compile:
NO_COMPRESSION: "true" NO_COMPRESSION: "true"
script: script:
- yarn install --pure-lockfile --production --cache-folder .yarn-cache - yarn install --pure-lockfile --production --cache-folder .yarn-cache
- bundle exec rake gettext:po_to_json
- bundle exec rake gitlab:assets:compile - bundle exec rake gitlab:assets:compile
artifacts: artifacts:
name: webpack-report name: webpack-report
...@@ -450,6 +452,7 @@ karma: ...@@ -450,6 +452,7 @@ karma:
BABEL_ENV: "coverage" BABEL_ENV: "coverage"
CHROME_LOG_FILE: "chrome_debug.log" CHROME_LOG_FILE: "chrome_debug.log"
script: script:
- bundle exec rake gettext:po_to_json
- bundle exec rake karma - bundle exec rake karma
coverage: '/^Statements *: (\d+\.\d+%)/' coverage: '/^Statements *: (\d+\.\d+%)/'
artifacts: artifacts:
......
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