2018-07-17 02:28:27 +02:00
|
|
|
# Uncomment tests runner when tests are added.
|
|
|
|
|
2018-03-06 04:21:40 +01:00
|
|
|
sudo: required
|
2019-06-02 12:54:31 +02:00
|
|
|
#names:
|
2018-07-17 02:28:27 +02:00
|
|
|
#- docker
|
2018-03-30 02:23:39 +02:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- plugin_name=${PWD##*/} && echo $plugin_name
|
2018-07-17 02:28:27 +02:00
|
|
|
- chmod -R 777 .
|
|
|
|
|
|
|
|
#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
|
2018-03-30 02:23:39 +02:00
|
|
|
|
2018-07-17 02:28:27 +02:00
|
|
|
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
|