Skip to content

Commit 355b964

Browse files
committed
see 05/14 log
1 parent e325a69 commit 355b964

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ android:
1313
- tools
1414
- build-tools-$BUILD_TOOLS_VERSION
1515
- android-$COMPILE_SDK_VERSION
16-
- extra-android-m2repository
17-
- extra-android-support
1816

1917
licenses:
2018
- android-sdk-license-.+
@@ -29,5 +27,14 @@ before_install:
2927
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
3028
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
3129

30+
before_cache:
31+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
32+
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
33+
cache:
34+
directories:
35+
- $HOME/.gradle/caches/
36+
- $HOME/.gradle/wrapper/
37+
- $HOME/.android/build-cache
38+
3239
script:
33-
- ./gradlew time
40+
./gradlew build connectedCheck -i

utilcode/src/test/java/com/blankj/utilcode/util/TimeUtilsTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ public class TimeUtilsTest {
3535
private final Date tomorrowTimeDate = new Date(tomorrowTimeMillis);
3636
private final String tomorrowTimeString = defaultFormat.format(tomorrowTimeDate);
3737
private final String tomorrowTimeStringFormat = mFormat.format(tomorrowTimeDate);
38-
;
39-
private final long delta = 1;// 允许误差1ms
38+
private final long delta = 1;// 允许误差1ms
4039

4140
@Test
4241
public void millis2String() throws Exception {

0 commit comments

Comments
 (0)