-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
68 lines (53 loc) · 2.16 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sudo: required
dist: trusty
#services:
# - docker
#env:
# DOCKER_COMPOSE_VERSION: 1.13.0
cache:
directories:
- $HOME/.m2/repository
- $HOME/.sbt
- $HOME/.ivy2
language: java
before_install:
# - sudo mkdir -p /usr/local/share/java/opencv4/
# - wget https://github.com/Hurence/logisland/releases/download/v1.2.0/libopencv_java411.so
# - wget https://github.com/Hurence/logisland/releases/download/v1.2.0/opencv-411.jar
# - sudo mv libopencv_java411.so /usr/local/share/java/opencv4/
# - sudo mv opencv-411.jar /usr/local/share/java/opencv4/
# - sudo chmod 755 /usr/local/share/java/opencv4/*
# - mvn install:install-file -Dfile=/usr/local/share/java/opencv4/opencv-411.jar -DgroupId=opencv -DartifactId=opencv -Dversion=4.1.1 -Dpackaging=jar
#
# # Upgrade/install docker-compose.
# - sudo rm -f /usr/local/bin/docker-compose
# - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
# - chmod +x docker-compose
# - sudo mv docker-compose /usr/local/bin
# # Print out the current docker-compose version.
# - docker-compose --version
- rm -rf sudo /home/travis/.m2/repository/org/apache/lucene/lucene-highlighter/6.6.2/*
script:
# Build
# use travis_wait so it does not time_out after 10 minutes without output (unfortunately that seems to not work)
# use -q so there's not too much output for travis (4Mb max)
- travis_wait 60 mvn clean install -Pintegration-tests -q
# build assembly (there is currently missing jars in assembly when using mvn clean install...)
- mvn clean package -DskipTests -q
# Integrations tests
- sudo logisland-docker/src/integration-test/run-all-test.sh
jdk:
- openjdk8
install:
- sudo sysctl -w vm.max_map_count=262144
notifications:
email:
- bailet.thomas@gmail.com
- s.h.gregoire@gmail.com
- mathieu.rossignol@hurence.com
webhooks:
urls:
- https://webhooks.gitter.im/e/e305a73a60a02fefba40
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always