-
Notifications
You must be signed in to change notification settings - Fork 69
/
.travis.yml
30 lines (30 loc) · 908 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
language: scala
sudo: required
addons:
apt:
packages:
- git
- python-pip
scala:
- 2.11.11
before_install:
- pip install -U pip
script:
- sbt ++$TRAVIS_SCALA_VERSION coverage test coverageReport
- bash <(curl -s https://codecov.io/bash)
- sbt 'set test in assembly := {}' pythonItAssembly
- export PATH=$PATH:/usr/local/bin
- cd python
- sudo pip install -r requirements.txt
- sudo pip install -r test-requirements.txt
- sudo python setup.py install
- sudo python setup.py test
- wget -P $HOME/ http://archive.apache.org/dist/spark/spark-2.2.1/spark-2.2.1-bin-hadoop2.7.tgz
- tar -xvzf $HOME/spark-2.2.1-bin-hadoop2.7.tgz -C $HOME/
- export PATH=$PATH:$HOME/spark-2.2.1-bin-hadoop2.7/bin
- sudo "PATH=$PATH" python setup.py integration_test --jar=drunken-data-quality.jar
cache:
directories:
- $HOME/.m2
- $HOME/.ivy2
- $HOME/spark-2.0.2-bin-hadoop2.6