forked from end-of-game/cloudunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (24 loc) · 1.03 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
sudo: required
language: java
services:
- docker
- maven
before_install:
- docker version
# Setup a wildcard local DNS for *.dev
- sudo apt-get install -qq -y --force-yes dnsmasq
- echo "listen-address=127.0.0.1" | sudo tee -a /etc/dnsmasq.conf > /dev/null
- echo "bind-interfaces" | sudo tee -a /etc/dnsmasq.conf > /dev/null
- echo "address=/dev/127.0.0.1" | sudo tee -a /etc/dnsmasq.conf > /dev/null
- echo "user=root" | sudo tee -a /etc/dnsmasq.conf > /dev/null
- sudo service dnsmasq restart
script:
- echo $USER
# - cd cu-services && travis_wait 60 ./build-services.sh all
#- docker images
# - ./check_build_images.sh
- cd /home/travis/build/Treeptik/cloudunit && mvn install -DskipTests -B
- cp /home/travis/build/Treeptik/cloudunit/cu-compose/.env.template /home/travis/build/Treeptik/cloudunit/cu-compose/.env
- cd /home/travis/build/Treeptik/cloudunit/cu-compose && ./cu-docker-compose.sh with-elk
- docker ps -a
- cd /home/travis/build/Treeptik/cloudunit/cu-manager && mvn test "-Dtest=*Tomcat8ApplicationControllerTestIT"