forked from GIScience/openrouteservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (27 loc) · 1004 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
language: java
jdk: openjdk8
sudo: required
dist: trusty
before_install:
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
- sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
- ip addr # for confirmation. can be skipped
branches:
only:
- master
- development
- integrate-travis
stages:
- compile_test
jobs:
include:
- stage: compile_test
script:
- cp ${TRAVIS_BUILD_DIR}/openrouteservice-api-tests/conf/app.config.test ${TRAVIS_BUILD_DIR}/openrouteservice/src/main/resources/app.config
- mvn -f ${TRAVIS_BUILD_DIR}/openrouteservice/pom.xml install -B
- mvn -f ${TRAVIS_BUILD_DIR}/openrouteservice/pom.xml tomcat7:run -B &
- travis_wait 15 sleep 15m
- curl http://127.0.0.1:8082/openrouteservice-5.0/health
- mvn -f ${TRAVIS_BUILD_DIR}/openrouteservice-api-tests/pom.xml test
notifications:
webhooks: https://chat.gistools.geog.uni-heidelberg.de/hooks/fqX555ZPxYFdHeqhS/2kxt4rNATiJ9cB8pLmkSc2R3mrxnmJrEQZFd7JKqiPEGFnW9