diff --git a/.travis.yml b/.travis.yml index fed123f3..01ff46d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,27 @@ +# Uncomment tests runner when tests are added. + sudo: required -services: - - docker +#services: + #- docker before_install: - plugin_name=${PWD##*/} && echo $plugin_name + - chmod -R 777 . -script: - - > - docker run - -e "COMMIT_HASH=origin/tests-passed" - -e "SKIP_CORE=1" - -e "SKIP_LINT=1" - -e SINGLE_PLUGIN=$plugin_name - -v $(pwd):/var/www/discourse/plugins/$plugin_name - discourse/discourse_test:release +#script: + #- > + #docker run + #-e "COMMIT_HASH=origin/tests-passed" + #-e "SKIP_LINT=1" + #-e "RUBY_ONLY=1" + #-e SINGLE_PLUGIN=$plugin_name + #-v $(pwd):/var/www/discourse/plugins/$plugin_name + #discourse/discourse_test:release + +after_success: + - pip install virtualenv + - virtualenv ~/env + - source ~/env/bin/activate + - pip install transifex-client + - sudo echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc + - tx push -s diff --git a/.tx/config b/.tx/config new file mode 100644 index 00000000..3b940ea9 --- /dev/null +++ b/.tx/config @@ -0,0 +1,15 @@ +[main] +host = https://www.transifex.com + +[discourse-custom-wizard.client-en-yml] +file_filter = config/locales/client..yml +minimum_perc = 0 +source_file = config/locales/client.en.yml +source_lang = en +type = YML + +[discourse-custom-wizard.server-en-yml] +file_filter = config/locales/server..yml +source_file = config/locales/server.en.yml +source_lang = en +type = YML