Skip to content

Commit

Permalink
chore: Remove stages in CI
Browse files Browse the repository at this point in the history
Stages :
- allow to restart only parts of the CI we it fails
- but takes more time globally because we need to install node_modules multiple times

We think that it is not worth it anymore.
  • Loading branch information
zatteo committed Jul 25, 2024
1 parent 8b04884 commit af8e124
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,13 @@ branches:
- master
# detect also tag like x.y.z or x.y.z-beta.n as travis consider them to be branches
- /^\d+\.\d+\.\d+(\-beta.\d+)?$/
stages:
- prebuild
- build
jobs:
include:
- name: 'Lint'
stage: 'prebuild'
script: yarn lint
- name: 'Unit tests'
stage: 'prebuild'
script: yarn test
- name: Build
stage: build
before_install:
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then openssl aes-256-cbc -K $encrypted_e51c23250372_key -iv $encrypted_e51c23250372_iv -in id_rsa_downcloud_contacts.enc -out /tmp/id_rsa_downcloud_contacts -d; fi
- if [ "$TRAVIS_SECURE_ENV_VARS" != "false" ]; then eval "$(ssh-agent -s)"; fi
Expand Down

0 comments on commit af8e124

Please sign in to comment.