Skip to content

Commit 8634fb2

Browse files
committed
ci(circle): improve caching
1 parent 966b48b commit 8634fb2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: circle.yml

+9
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,21 @@ checkout:
2020
dependencies:
2121
# we automatically cache and restore many dependencies between
2222
# builds. If you need to, you can add custom paths to cache:
23+
override:
24+
- "npm install"
25+
- "gulp updateFixtures:test && gulp installFixtures"
2326
cache_directories:
2427
- "test/fixtures/node_modules"
2528
# post:
2629
# - wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
2730
# - tar -xzf sc-latest-linux.tar.gz
2831

32+
test:
33+
pre:
34+
- gulp build
35+
override:
36+
- gulp test
37+
2938
## Custom notifications
3039
#notify:
3140
notify:

0 commit comments

Comments
 (0)