-
Notifications
You must be signed in to change notification settings - Fork 314
/
.travis.yml
92 lines (80 loc) · 3.31 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Use container-based infrastructure
os: linux
dist: jammy
# Set default python env
# because the xgboost-spark library when running training code, it will
# run a python script (in RabitTracker) which only support python3
env:
global:
- PATH=/opt/python/3.8.15/bin:$PATH
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc
- g++
services:
- docker
language: scala
scala:
- 2.12.18
jdk:
- openjdk11
jobs:
include:
- stage: "Mleap tests"
name: "MLeap executor tests"
script:
- make test_executor
- name: "Mleap benchmark tests"
script:
- make test_benchmark
- name: "All other sbt tests"
script:
- make test_root_sbt_project
- name: "Python 3.7 tests"
language: python
python: 3.7.15
install:
- pip install tox
before_script:
- >
curl
--create-dirs -L -o /home/travis/.sbt/launchers/1.9.4/sbt-launch.jar
https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.9.4/sbt-launch-1.9.4.jar
script:
- make test_python37
- name: "Python 3.8 tests"
language: python
python: 3.8.16
install:
- pip install tox
before_script:
- >
curl
--create-dirs -L -o /home/travis/.sbt/launchers/1.9.4/sbt-launch.jar
https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.9.4/sbt-launch-1.9.4.jar
script:
- make test_python38
- if: (NOT type IN (pull_request)) AND (branch = master)
stage: "Deploy"
name: "Publish signed jars"
script:
- travis/travis_publish.sh
notifications:
on_success: change
on_failure: always
slack:
rooms:
- secure: "RLxhNQarrr8WNtJRSx855EJX6w9XsyvzfhJGHrJYcNs5hNZfnCcWJaGRExqSHjd3UKpyZOgOAa0+5IrUl4Pbug7Dzq+Kk5nIOxd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3BeAjGWCZndRxcwgNpG+UvT7Fz87fWOBrN6xZVctXylWatjizf1IXEwBz25X05gMBnafeC3whhX/8jSR3NikwVgY4UQb4mgfSPqXgCeaVQ8VHeLpTM7swVI3q1Vcmms/v7YdPEFGDFLcyYo24GojgBaBZCl7WAk4QxxGrAANqcMpOWXhALo="
on_success: change
on_failure: always
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete