Browse Source

caching m2

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

+ 5
- 4
.travis.yml View File

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