-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (29 loc) · 1.07 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
#
# You can use Travis CI https://travis-ci.org for automatic builds of you ESDK App project on Github.
# TODO: Activate Travis CI for your Github repository
#
language: java
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.23.2
dist: trusty
jdk:
- oraclejdk8
# TODO: In the Travis UI for your repository register your credentials for https://registry.abas.sh in Settings > Environment Variables as REGISTRY_USER and REGISTRY_PASSWORD
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker login sdp.registry.abas.sh -u $REGISTRY_USER -p $REGISTRY_PASSWORD
- travis_wait docker-compose up -d
- sleep 45
- ./initGradleProperties.sh
install:
- ./gradlew checkPreconditions fullInstall
script:
- ./gradlew instrumentJfopServer verify codeCoverageVerification
after_script:
- docker-compose stop || true
- docker-compose rm -f || true