-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
40 lines (39 loc) · 1.45 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
sudo: required
dist: trusty
language: go
## home folder is /home/travis/gopath/src/github.com/radanalyticsio/oshinko-s2i
services:
- docker
matrix:
# no need to include the build target at present because the template
# tests perform builds from the local source to do the tests
include:
- env: TO_TEST=pyspark-templates OPENSHIFT_VERSION=v3.11
- env: TO_TEST=java-templates OPENSHIFT_VERSION=v3.11
- env: TO_TEST=scala-templates OPENSHIFT_VERSION=v3.11
- env: TO_TEST=sparkk8s OPENSHIFT_VERSION=v3.11
- env: TO_TEST=pyspark-inc OPENSHIFT_VERSION=v3.11
- env: TO_TEST=scala-inc OPENSHIFT_VERSION=v3.11
- env: TO_TEST=java-inc OPENSHIFT_VERSION=v3.11
fast_finish: true
before_install:
- pwd
- bash --version
- sudo apt-get install --only-upgrade bash
- bash --version
- test/travis-help/prepare.sh
install:
before_script:
- test/travis-help/check-tarballs.sh
script:
- if [ "$TO_TEST" == "pyspark-templates" ]; then make test-pyspark-templates ; fi
- if [ "$TO_TEST" == "java-templates" ]; then make test-java-templates ; fi
- if [ "$TO_TEST" == "scala-templates" ]; then make test-scala-templates ; fi
- if [ "$TO_TEST" == "sparkk8s" ]; then S2I_K8S_LIMITED=true make test-sparkk8s ; fi
- if [ "$TO_TEST" == "pyspark-inc" ]; then make test-pyspark-inc ; fi
- if [ "$TO_TEST" == "scala-inc" ]; then make test-scala-inc ; fi
- if [ "$TO_TEST" == "java-inc" ]; then make test-java-inc ; fi
notifications:
email:
on_success: never
on_failure: never