-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
90 lines (90 loc) · 2.37 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
notifications:
email: false
git:
quiet: true
depth: false
jdk: openjdk11
node_js: lts/*
services:
- docker
- xvfb
python: 3.7
matrix:
include:
- python: 3.7
addons:
apt:
update: false
packages:
- jq
- bash
- curl
- tree
- docker-ce
- libxml2-utils
- libappindicator1
- fonts-liberation
- google-chrome-stable
- python3-setuptools
- python3-pip
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
#
- export PATH=$HOME/.local/bin:$PATH
- pip -V
- docker-compose version
- pip3 install --user --upgrade pip
- pip install --user --upgrade httpie docker-compose
- http --version --debug
- pip -V
jobs:
include:
- stage: test
jdk: openjdk11
name: test step0
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f step0-zero-configuration clean package docker:build docker:start
- wait_for 8080
- http :8080
- cd $TRAVIS_BUILD_DIR && ./mvnw -f step0-zero-configuration docker:stop docker:remove
- stop_any 8080
- stage: test
jdk: openjdk11
name: test step1
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f step1-zero-configuration clean package docker:build docker:start
- wait_for 8080
- http :8080
- cd $TRAVIS_BUILD_DIR && ./mvnw -f step1-zero-configuration docker:stop docker:remove
- stop_any 8080
- stage: test
jdk: openjdk11
name: test step2
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f step2-zero-configuration
- wait_for 8080
- http :8080
- cd $TRAVIS_BUILD_DIR && ./mvnw -f step2-zero-configuration docker:stop docker:remove
- stop_any 8080
- stage: test
jdk: openjdk11
name: versions display-property-updates
script: ./mvnw versions:display-property-updates
cache:
npm: true
pip: true
packages: true
directories:
- ~/.m2
- ~/.docker
- ~/.local/daggerok