Skip to content

Commit 978c136

Browse files
committed
Fix travis build
For pull requests, the build stopped before compiling already
1 parent 7c52710 commit 978c136

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ language: java
1212
jdk: oraclejdk8
1313

1414
before_install:
15-
- "mkdir -p $HOME/.m2"
16-
- "cp .travis/travis-settings.xml $HOME/.m2/settings.xml"
17-
- "source .travis/setup-secrets.sh"
15+
- bash .travis/setup-secrets.sh
16+
- bash .travis/configure-maven.sh
1817
install: true
1918
before_script:
2019
- "export DISPLAY=:99.0"
@@ -44,6 +43,7 @@ notifications:
4443
email:
4544
recipients:
4645
46+
4747
on_success: always
4848
on_failure: always
4949
cache:

.travis/configure-maven.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
set -e
3+
4+
mkdir -p ${HOME}/.m2
5+
cp .travis/travis-settings.xml ${HOME}/.m2/settings.xml"

0 commit comments

Comments
 (0)