forked from jaegertracing/jaeger-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (32 loc) · 932 Bytes
/
.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
dist: trusty
sudo: required
language: java
jdk:
- oraclejdk8
services:
- docker
before_install:
# install nsenter which is required for port forwarding
- travis/ubuntu-compile-nsenter.sh && sudo cp $HOME/nsenter/util-linux-2.30.2/nsenter /usr/bin
- travis/install-start-minikube.sh && export PATH=`pwd`:${PATH} # set minikube and kubectl to PATH
- kubectl get all --all-namespaces
cache:
directories:
- $HOME/.m2/repository
- $HOME/nsenter
install:
# Override default travis to use the maven wrapper
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
jobs:
include:
- stage: test
env: [ NAME=all-in-one ]
script: ./mvnw clean verify -Pall-in-one
- env: [ NAME=cassandra ]
script: ./mvnw clean verify -Pcassandra
- env: [ NAME=elasticsearch ]
script: ./mvnw clean verify -Pelasticsearch
after_script:
- docker images --no-trunc=true
env:
global: