There was an error while loading. Please reload this page.
1 parent 03e51e2 commit 81df6c0Copy full SHA for 81df6c0
.travis.yml
@@ -7,6 +7,7 @@ jdk:
7
8
os:
9
- linux
10
+ - osx
11
12
before_cache:
13
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
@@ -17,6 +18,11 @@ cache:
17
18
- $HOME/.gradle/caches/
19
- $HOME/.gradle/wrapper/
20
21
+# Run commands before TravisCI install step only in some cases
22
+# More info: https://docs.travis-ci.com/user/multi-os/#example-multi-os-build-matrix
23
+before_install:
24
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
25
+
26
# Override default install process on TravisCI
27
# Avoid default `gradlew assemble` execution. Be explicit about it on the `script` section.
28
# More info: https://github.com/travis-ci/travis-ci/issues/8667
0 commit comments