-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
54 lines (44 loc) · 1.08 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
dist: bionic
language: python
cache: pip
services:
- docker
env:
global:
TOXENV: python
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8
- python: 3.8
name: Linting code style
env:
TOXENV: lint
allow_failures:
- python: 3.4
before_install:
- openssl aes-256-cbc -K $encrypted_f5440da4f437_key -iv $encrypted_f5440da4f437_iv -in .travis/gcp.json.enc -out .travis/gcp.json -d
- export GOOGLE_APPLICATION_CREDENTIALS=$(readlink -f .travis/gcp.json)
- |
set -xe
sudo rm /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
# Install hadoop-test-cluster
pip install hadoop-test-cluster
htcluster startup --image cdh5 --config simple
set +xe
install:
- pip install tox codecov
script:
- tox
after_script:
- codecov
addons:
hosts:
- worker.example.com
- master.example.com