Skip to content

Commit 234fe0e

Browse files
dariuszkucsmyrick
authored andcommitted
[chore] continous integration build upgrade (#438)
* update Github CI Action to run verify goal instead of just package * prevent Travis from running install goal twice - by default Travis will attempt to install the dependencies before running the actual build script, this results in running `mvn install` goal twice: once for installing dependencies and skipping the tests and another one from our build script. This PR disables the default dependency installation goal.
1 parent 0c3cade commit 234fe0e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
with:
1818
java-version: 1.8
1919
- name: Build with Maven
20-
run: mvn clean package --file pom.xml
20+
run: mvn clean verify --file pom.xml

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ before_install:
1818
- if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi
1919
- if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi
2020

21+
install:
22+
- ""
23+
2124
script:
22-
- ./mvnw install
25+
- ./mvnw clean install
2326

2427
deploy:
2528
provider: script

0 commit comments

Comments
 (0)