Skip to content

Commit ab6464f

Browse files
[test] Speed up travis build by caching maven repository (darrachequesne#65)
1 parent 2422028 commit ab6464f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ script: mvn test -Dspring.profiles.active=$DB
1818
before_script:
1919
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE test;' -U postgres; fi"
2020
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS test;' -uroot; fi"
21+
22+
cache:
23+
directories:
24+
- $HOME/.m2

0 commit comments

Comments
 (0)