-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (36 loc) · 825 Bytes
/
.travis.yml
File metadata and controls
45 lines (36 loc) · 825 Bytes
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
language: python
cache: pip
matrix:
include:
- python: "2.7"
env: HADOOP_VERSION=3.2.0
- python: "3.6"
env: HADOOP_VERSION=2.9.2
- python: "3.6"
env: HADOOP_VERSION=3.2.0
- python: "3.6"
env: HADOOP_VERSION=3.2.0 LOCAL_FS=true
- python: "3.7"
env: HADOOP_VERSION=3.2.0
dist: xenial
sudo: required
services: docker
before_install: pip install flake8
# skip installation, requirements are handled in the Docker image
install: true
before_script:
- flake8 -v .
- python .travis/check_script_template.py -v
- docker build -t crs4/pydoop-docs -f Dockerfile.docs .
script:
- ./.travis/start_container
- ./.travis/run_checks
- docker stop pydoop
deploy:
provider: pypi
user: "${CI_USER}"
password: "${CI_PASS}"
on:
python: "3.7"
repo: crs4/pydoop
tags: true