forked from openedx/edx-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (29 loc) · 884 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
sudo: false
language: python
python:
- 2.7
env:
- TOXENV=django18
- TOXENV=django19
- TOXENV=django110
- TOXENV=django111
# 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