Skip to content

Commit

Permalink
chore: Make sure transifex CLI installed before build
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Dec 11, 2023
1 parent ab2dc7b commit d6f2b51
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,20 @@ jobs:
script: yarn test
- name: 'Build app'
stage: 'build'
before_script:
- yarn run cozy-ci-transifex
- export PATH="$HOME/build/cozy/cozy-photos:$PATH"
- '[ "$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
- echo -en 'travis_fold:end:txpull\\r'
- 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:
Expand Down

0 comments on commit d6f2b51

Please sign in to comment.