.travis.yml 766 B

123456789101112131415161718192021222324252627
  1. # Uncomment tests runner when tests are added.
  2. sudo: required
  3. #services:
  4. #- docker
  5. before_install:
  6. - plugin_name=${PWD##*/} && echo $plugin_name
  7. - chmod -R 777 .
  8. #script:
  9. #- >
  10. #docker run
  11. #-e "COMMIT_HASH=origin/tests-passed"
  12. #-e "SKIP_LINT=1"
  13. #-e "RUBY_ONLY=1"
  14. #-e SINGLE_PLUGIN=$plugin_name
  15. #-v $(pwd):/var/www/discourse/plugins/$plugin_name
  16. #discourse/discourse_test:release
  17. after_success:
  18. - pip install virtualenv
  19. - virtualenv ~/env
  20. - source ~/env/bin/activate
  21. - pip install transifex-client
  22. - sudo echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc
  23. - tx push -s