-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.18 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
notifications:
email: false
git:
quiet: true
depth: false
language: python
python: 3.8
node_js: lts/*
jdk: openjdk11
os: linux
arch: amd64
addons:
apt:
update: false
packages:
- jq
- curl
install: true
before_install:
- |
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
#
- |
python -m pip install --upgrade pip setuptools pyopenssl
python -m pip install --upgrade httpie
jobs:
include:
- stage: test
name: tests
before_script:
- cd $TRAVIS_BUILD_DIR && ./mvnw
- bash $TRAVIS_BUILD_DIR/server/target/*.jar &
- wait_for 8080
script:
- http :8080/ololo/trololo
- cd $TRAVIS_BUILD_DIR && ./mvnw -f client integration-test
after_script:
- stop_any 80
cache:
npm: true
pip: true
packages: true
directories:
- ~/.m2
- ~/.local/daggerok