Skip to content

Commit

Permalink
[test] Disable CircleCI cache
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Aug 18, 2018
1 parent 96d2c38 commit d8395eb
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@ defaults: &defaults
docker:
- image: circleci/node:9.10
restore_repo: &restore_repo
restore_cache:
keys:
- v1-repo-{{ .Branch }}-{{ .Revision }}
# The cache logic of CircleCI has been disabled for Security reasons.
# We can no longer use it.
# restore_cache:
# keys:
# - v1-repo-{{ .Branch }}-{{ .Revision }}
- checkout
- run:
name: Install js dependencies
command: yarn
version: 2
jobs:
checkout:
<<: *defaults
steps:
- *restore_repo
- checkout
- <: *restore_repo
- run:
name: Check versions and env
command: |
Expand Down Expand Up @@ -41,7 +46,7 @@ jobs:
test_unit:
<<: *defaults
steps:
- *restore_repo
- <: *restore_repo
- run:
name: Lint
command: yarn lint
Expand All @@ -67,7 +72,7 @@ jobs:
test_material-ui-x:
<<: *defaults
steps:
- *restore_repo
- <: *restore_repo
- run:
name: material-ui-icons
command: |
Expand Down Expand Up @@ -135,7 +140,7 @@ jobs:
docker:
- image: circleci/node:9.10
steps:
- *restore_repo
- <: *restore_repo
- run:
name: Can we generate the material-ui build?
command: cd packages/material-ui && yarn build
Expand All @@ -148,7 +153,7 @@ jobs:
test_browser:
<<: *defaults
steps:
- *restore_repo
- <: *restore_repo
- run:
name: Can we generate the api of the docs?
command: yarn docs:api
Expand All @@ -168,7 +173,7 @@ jobs:
- image: circleci/node:9.10
- image: selenium/standalone-chrome:3.11.0
steps:
- *restore_repo
- <: *restore_repo
- run:
name: Visual regression tests
command: |
Expand Down

0 comments on commit d8395eb

Please sign in to comment.