Skip to content

Commit

Permalink
Restore back parallel build and lint, to gain 10 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
popovicsandras committed Feb 20, 2021
1 parent fb2050e commit 0a1e9a4
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ branches:

stages:
- name: Setup
- name: Build Dist & Release
- name: "Lint & Build Dist & Release"
if: tag IS blank
- name: Check bundle
if: type = push AND tag IS blank
Expand All @@ -61,8 +61,8 @@ jobs:
include:
# Setup ======================
- stage: Setup
name: "Setup node_modules cache && Lint"
script: ./scripts/lint.sh
name: "Node modules cache preparation"
script: echo "Only here for setting up the shared node_modules"
workspaces:
create:
name: node_modules_cache
Expand All @@ -71,7 +71,7 @@ jobs:
use: node_modules_cache

# Run Only for any PR
- stage: Build Dist & Release
- stage: "Lint & Build Dist & Release"
name: Build
script:
- ./scripts/travis/build/build.sh
Expand All @@ -85,6 +85,12 @@ jobs:
- "$BUILT_LIBS_DIR"
use: node_modules_cache

- stage: "Lint & Build Dist & Release"
name: "Lint"
script: ./scripts/lint.sh
workspaces:
use: node_modules_cache

- stage: Unit test
name: Unit test content
script: ./scripts/travis/unit-test/content.sh
Expand Down

0 comments on commit 0a1e9a4

Please sign in to comment.