forked from openedx/edx-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (48 loc) · 1.69 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
55
56
57
# Config file for automatic testing at travis-ci.org
language: python
python:
- 2.7
- 3.5
env:
- TOXENV=django18
- TOXENV=django19
- TOXENV=django110
matrix:
include:
- python: 3.5
env: TOXENV=quality
- python: 2.7
env: TOXENV=quality
- python: 3.5
env: TOXENV=docs
- python: 2.7
env:
- TOXENV=jasmine
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
addons:
firefox: "45.0"
- python: 2.7
env:
- RUNJSHINT=true
cache:
- pip
install:
- pip install -r requirements/travis.txt
script:
- if env | grep RUNJSHINT; then make jshint; else tox; fi
after_success:
- codecov
# Set password via "travis encrypt --add deploy.password"; for details, see
# https://docs.travis-ci.com/user/deployment/pypi
deploy:
provider: pypi
user: edx
distributions: sdist bdist_wheel
on:
tags: true
condition: '$TOXENV = quality'
password:
secure: c6t+V23/OqDYwU/4wBQKWRKcvQtQCgbzjdfr/+nKHQdFB0TE0iroFbsa3KWfRMmdh/P1UyXuABuyA0TJt9vS6JMan8s7y6I4gfi/XsH14qP5rMGuYOfHyHi+fAaZHt3b69i+tS8xV1YvRplI3MB8pqnZGdJsV4Fi32I+/buW2wXrypmo3RMugHEVMG4Yu0MzzmTZ/7nifpW/U7TxOxo0mIoqYbDbUeHUzExI5UvL3tBqEzBaMr68wZjPAuJFw6m4zoQ66s9ZGihWYxD+DJfMpXuf5tQBSzrN1D3PG3UYvgP3FNipHwK2vC+Exg7xii6kzZYLGmSHnE1MXBW07wK7mGgu9wdLViUPyT7PqXMklwa6CzwMoNQzwU/xV667PKk/dcZDoNywSkcP55uelnhdP22FM3eig46V/SZxUbO4yeMlZUiaWATVwYsDra/dJyfiFR0WHd9DI37BWIBl/eBnjwxu4qQkKxMInZlZyG5fuZX+LP7S8pJE7kk9OkzIKlWR1rDnaMQnDu5XN60JlBKNfE3aflTPip2dTEVz8CmjVo+PFF1ukdxYc8qpvV7EcKDGnh1T+OBWYTCterdDxCf8HK+hJ9oZigUc0zliPSUvqt3KSN35cR3rxJQUwhOhducQECVuZ6Fs+AgR533/Ry5b63HlS1sBdCWOqNMhyAUBRvM=