Skip to content

Commit c2a1e16

Browse files
committed
Travis: custom install phase
1 parent 196bea3 commit c2a1e16

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ branches:
1919
only:
2020
- 2.x
2121

22+
install:
23+
- ./etc/travis-install.sh
24+
2225
script:
2326
- ./etc/travis.sh

etc/travis-install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
DIR=$(cd "$(dirname "$0")"; pwd)
4+
5+
sh $DIR/maven.sh clean install -q -DskipTests=true

etc/travis.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
DIR=$(cd "$(dirname "$0")"; pwd)
44

5-
sh $DIR/maven.sh clean install -q -DskipTests=true
65
sh $DIR/maven.sh -Dlogback.configurationFile=$DIR/logback-travis.xml -q checkstyle:checkstyle -P checkstyle package

0 commit comments

Comments
 (0)