From 70e623a6bcc0b51d35cf75c2e13a8d74a7b5a464 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Fri, 30 Mar 2018 11:23:39 +1100 Subject: [PATCH] Move tx config to a seperate branch for now --- .travis.yml | 24 +++++++++++++++--------- .tx/config | 16 ---------------- 2 files changed, 15 insertions(+), 25 deletions(-) delete mode 100644 .tx/config diff --git a/.travis.yml b/.travis.yml index 67bc4086..fed123f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ -install: skip -script: skip sudo: required -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 +services: + - docker + +before_install: + - plugin_name=${PWD##*/} && echo $plugin_name + +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 diff --git a/.tx/config b/.tx/config deleted file mode 100644 index 10a22b80..00000000 --- a/.tx/config +++ /dev/null @@ -1,16 +0,0 @@ -[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 -