Skip to content

Commit

Permalink
fix ut stable, #2227 (#2302)
Browse files Browse the repository at this point in the history
* fix ut, #2227

* add cache for travis ci

* fix travis problem, skip javadoc
  • Loading branch information
jerrick-zhu committed Aug 15, 2018
1 parent bbfcb41 commit 93d2eb6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ jdk:
- oraclejdk8
- openjdk7

cache:
directories:
- '$HOME/.m2/repository'

install:
- ./mvnw clean install -DskipTests=true -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true

script:
- travis_wait 30 ./mvnw clean package
- travis_wait 30 ./mvnw test

after_success:
- bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public void testWait() throws Exception {
registry.setWait(10);
assertThat(registry.getWait(), is(10));
assertThat(System.getProperty(Constants.SHUTDOWN_WAIT_KEY), equalTo("10"));
System.clearProperty(Constants.SHUTDOWN_WAIT_KEY);
}

@Test
Expand Down

0 comments on commit 93d2eb6

Please sign in to comment.