forked from cloudera/livy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 849 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
43
sudo: required
dist: trusty
language: scala
env:
- MVN_FLAG=-Pspark-1.6
- MVN_FLAG=-Pspark-2.0
jdk:
- oraclejdk7
addons:
apt:
sources:
r-packages-trusty
packages:
r-base
cache:
pip: true
directories:
- $HOME/.m2
before_install:
- sudo apt-get -y install python3-pip python-dev
- sudo apt-get -y remove python-setuptools
- pip install --user --upgrade pip setuptools
- pip3 install --user --upgrade pip setuptools
- pip install --user codecov cloudpickle
- pip3 install --user cloudpickle
install:
- mvn $MVN_FLAG install -Dskip -DskipTests -DskipITs -Dmaven.javadoc.skip=true -B -V
before_script:
- pip install --user requests pytest flaky flake8
- pip3 install --user requests pytest flaky
script:
- mvn $MVN_FLAG verify -e
after_success:
- bash <(curl -s https://codecov.io/bash)