Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
Update .travis.yml
Dieser Commit ist enthalten in:
Ursprung
d6621a830b
Commit
e8c81765f0
1 geänderte Dateien mit 7 neuen und 22 gelöschten Zeilen
29
.travis.yml
29
.travis.yml
|
@ -1,27 +1,12 @@
|
||||||
# Uncomment tests runner when tests are added.
|
# We want to use the KVM-based system, so require sudo
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
#names:
|
services:
|
||||||
#- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- plugin_name=${PWD##*/} && echo $plugin_name
|
- git clone --depth=1 https://github.com/discourse/discourse-plugin-ci
|
||||||
- chmod -R 777 .
|
|
||||||
|
|
||||||
#script:
|
install: true # Prevent travis doing bundle install
|
||||||
#- >
|
|
||||||
#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:
|
script:
|
||||||
- pip install virtualenv
|
- discourse-plugin-ci/script.sh
|
||||||
- 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
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren