-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (38 loc) · 727 Bytes
/
Copy path.travis.yml
File metadata and controls
46 lines (38 loc) · 727 Bytes
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
notifications:
email: false
env:
global:
- TERM=dumb
language: java
jdk: oraclejdk8
service:
- docker
addons:
apt:
packages:
- bash
- curl
- docker-ce
- python-pip
install: true
before_install:
- sudo pip install docker-compose httpie >/dev/null 2>&1
#
- source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash)
- stop_any 80 8080 >/dev/null
script:
- export root=$(pwd)
- ./mvnw >/dev/null
- ./gradlew composeUp
- http :8080/app/
- http :8080/app/dwr/index.html
- ./gradlew composeDown
before_cache:
- for item in $(find ~/.gradle -name "*.lock");
do sudo rm -rf $item ;
done
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
- $HOME/.docker