Skip to content

Commit 21ae3f9

Browse files
committed
新增travis_wait构建参数
1 parent fbcd861 commit 21ae3f9

File tree

2 files changed

+3
-45
lines changed

2 files changed

+3
-45
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@ language: java
22
jdk:
33
- openjdk8
44
node_js: "10"
5-
before_script:
6-
- npm install
7-
script: ./travis.sh
85
cache:
96
directories:
107
- $HOME/.m2
118
- $HOME/.npm
129
- node_modules
13-
install: ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true
10+
before_script:
11+
- npm install
12+
script: travis_wait 30 ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true
1413
after_success:
1514
- bash <(curl -s https://codecov.io/bash)
16-
1715
notifications:
1816
email:
1917
- jnyuqy@gmail.com

travis.sh

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)