-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
57 lines (57 loc) · 1.33 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
env:
global:
- TERM=dumb
notifications:
email: false
git:
quiet: true
depth: false
language: java
jdk: openjdk8
node_js: lts/*
python: 3.7
addons:
apt:
packages:
- jq
- bash
- curl
- tree
- docker-ce
- libxml2-utils
- libappindicator1
- fonts-liberation
- google-chrome-stable
- python3-pip
services: xvfb
install: true
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
#
- |
if [ ! -f ${HOME}/.local/daggerok/bash-functions/master/main.bash ] ; then
mkdir -p ${HOME}/.local/daggerok/bash-functions/master ;
curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash > ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
fi
source ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
- stop_any 80 5432 8080 8081 8082 8083 8084 8085 8086 8087 8088
#
- export PATH=$HOME/.local/bin:$PATH
- pip3 install --user --upgrade pip setuptools
- pip install --user --upgrade httpie
#
- stop_any 80 3000 8000 8080
script:
- ./gradlew
- bash ./build/libs/*.jar &
- wait_for 8080
- http :8080
- http :8080/api/data
- http :8080/path-not-found accept:text/html
- stop_any 80 3000 8000 8080
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
- $HOME/.local/daggerok