forked from openedx/edx-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (42 loc) · 1.15 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
language: python
# dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
python:
- 2.7
- 3.6
- 3.7
env:
- TOXENV=django111
- TOXENV=django20
- TOXENV=django21
matrix:
include:
- python: 2.7
env: TOXENV=quality
- python: 3.7
env: TOXENV=quality
exclude:
- python: 2.7
env: TOXENV=django20
- python: 2.7
env: TOXENV=django21
allow_failures:
- python: 3.7
# Cache the pip directory. "cache: pip" doesn't work due to install override. See https://github.com/travis-ci/travis-ci/issues/3239.
cache:
- directories:
- $HOME/.cache/pip
before_install:
- curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.2.zip
- unzip elasticsearch-1.5.2.zip
- elasticsearch-1.5.2/bin/elasticsearch -d
install: make requirements
script: make validate
after_success: codecov
deploy:
provider: pypi
user: edx
password:
secure: FIBjU6/5WPzUHqNWO9OqPdt3YipxSs7WPTnKMTJwlEvixXCIRkmAXd1CBd7kSYa0GvCfLSei7xLKsgUKaCe+OBsnw/ZDBllZv5EvLJwdKn/EKrPxhxeQ6/SNtqafWQ3mLL1+gosh0RHQdy0HlwwS+m/Qsf+51ohIJVpt+5jwxFA=
distributions: sdist bdist_wheel
on:
tags: true