/
.travis.yml
41 lines (35 loc) · 1013 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: java
jdk:
- openjdk8
sudo: false
git:
depth: 1
submodules: true
notifications:
irc:
channels:
- irc.freenode.net#georchestra
template:
- "%{repository}#%{build_number} (%{branch}) %{message} %{build_url}"
addons:
apt:
packages:
- ant
- ant-optional
- python-virtualenv
- python-pip
cache:
directories:
- $HOME/.m2
before_install:
- echo "making sure python2/virtualenv are where mapfishapp/jsbuild/build.sh expects them"
- /usr/bin/python2 --version
- /usr/local/bin/virtualenv --python=/usr/bin/python2 --version
- sudo ln -s /usr/local/bin/virtualenv /usr/bin/virtualenv
- /usr/bin/virtualenv --python=/usr/bin/python2 --version
install:
- ./mvnw --no-transfer-progress -B install -P-all,travis -Dadditionalparam=-Xdoclint:none -DskipTests
before_script:
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
script:
- ./mvnw --no-transfer-progress verify -P-all,travis -Dadditionalparam=-Xdoclint:none