From 721531126cf70400a4fc8e8e938d08eca37747d5 Mon Sep 17 00:00:00 2001 From: cballevre Date: Mon, 11 Dec 2023 15:41:55 +0100 Subject: [PATCH] chore: Make sure transifex CLI installed before build --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a62d666d..73ff70c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,12 @@ jobs: script: yarn test - name: 'Build app' stage: 'build' + before_script: + - yarn run cozy-ci-transifex + - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && openssl aes-256-cbc -K $encrypted_497d1a9dc404_key -iv $encrypted_497d1a9dc404_iv -in id_rsa_downcloud_photos.enc -out id_rsa_downcloud_photos -d' + - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && eval "$(ssh-agent -s)"' + - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && chmod 600 id_rsa_downcloud_photos' + - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && ssh-add id_rsa_downcloud_photos' script: - echo 'pull langages' && echo -en 'travis_fold:start:txpull\\r' - yarn tx @@ -43,12 +49,6 @@ jobs: - echo 'build' && echo -en 'travis_fold:start:build\\r' - yarn build - echo -en 'travis_fold:end:build\\r' - before_script: - - yarn run cozy-ci-transifex - - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && openssl aes-256-cbc -K $encrypted_497d1a9dc404_key -iv $encrypted_497d1a9dc404_iv -in id_rsa_downcloud_photos.enc -out id_rsa_downcloud_photos -d' - - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && eval "$(ssh-agent -s)"' - - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && chmod 600 id_rsa_downcloud_photos' - - '[ "$TRAVIS_SECURE_ENV_VARS" != "false" ] && ssh-add id_rsa_downcloud_photos' before_deploy: - yarn add cozy-app-publish # to be sure to have the last version before deploy deploy: