Browse Source

caching m2

Daniel Zlotin 8 years ago
parent
commit
d3b1f8ff8e
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      .travis.yml

+ 5
- 4
.travis.yml View File

10
   - master
10
   - master
11
   - v2
11
   - v2
12
 
12
 
13
-before_cache:
14
-  - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
15
-  - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
16
-
17
 cache:
13
 cache:
18
   yarn: true
14
   yarn: true
19
   directories:
15
   directories:
20
     - node_modules
16
     - node_modules
21
     - $HOME/.gradle/caches/
17
     - $HOME/.gradle/caches/
22
     - $HOME/.gradle/wrapper/
18
     - $HOME/.gradle/wrapper/
19
+    - $HOME/.m2
20
+
21
+before_cache:
22
+  - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
23
+  - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
23
 
24
 
24
 before_install:
25
 before_install:
25
   - set -e
26
   - set -e