-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
47 lines (47 loc) · 1.22 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
notifications:
email: false
language: python
python: 3.8
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: integration tests
before_script:
- cd $TRAVIS_BUILD_DIR && ./mvnw
- bash $TRAVIS_BUILD_DIR/mongo/target/*.jar &
- wait_for 27017
- bash $TRAVIS_BUILD_DIR/name-service/target/*.jar &
- wait_for 8080
script:
- http :8080/reverse/ololo-trololo
after_script:
- stop_any 8080 27017
- stage: test
name: tests
script: cd $TRAVIS_BUILD_DIR && ./mvnw
cache:
directories:
- ~/.m2
- ~/.local/daggerok