-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (48 loc) · 2.19 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
58
59
60
61
language: generic
env:
global:
- secure: "adjTXQD1TKE8RnD8HkvemCKRTrO1TabHjqqin/R86Dewx9rbBm/XlV12ElxiW+B+3p9AsUdmxFj3i1WidDG4iuKFULFgKZk9x/d+4IDCChzpGNXYKxgh+lVtmGwVdX056XP/luiS2WmG6HCjMYMybNc39A1KjLM2ISydmrhANqPgmomTiztcOPXLsdC3f6xlWz+XOQDOCC2br4SnN4S3H6L8j9W5XnjiCJi/i3qVdxUuNSh/32WGxyR1N7p71Vo/ZYJF4hf4hjf/A9IRHytPl9nG6l+of0IZ1hQ83yLX65q4gdbgdrUNCUWF92xUGd2VRbAx2NwP9PLayWN/+IEdRz7WJcszq2cc3lO1xQrtWrVg08/vyJvBgaVA6EmGKiKWCKWGv5PorKU0TtQzqCRu82L7ZT77n4pGrG1CYv+NjQf7SdM2OFpqdcKPAnBVWY8+mfe9IxiNFM0dGzuRA8+RL9XgJWawFs/iaRkIZH1U/WiGS0Tl2xQf7nmDZ0KxNzVEOcnoBq3rZp+BXhksh00JkVjSC69hnLjdVBsnFmHUEgB4ofaT9ICEgC3auYB93/gSRyTIHqbh9irANboRyDplxobrbowRuY9ZOt6S2j5Fe3MXhgB1BjZvvuJbgS9ohQX7FR+VxZSasyfeGaTiFpPw6eiORG+NLzGkehsk9apbdto="
matrix:
include:
- os: osx
env: PY_VERSION=2.7
- os: osx
env: PY_VERSION=3.3.6
- os: osx
env: PY_VERSION=3.4.4
- os: osx
env: PY_VERSION=3.5.1
- os: linux
sudo: required
dist: trusty
env: DOCKER_IMAGE=quay.io/swistakm/pyrilla_x86_64
services: docker
- os: linux
sudo: required
env: DOCKER_IMAGE=quay.io/swistakm/pyrilla_i686 PRE_CMD=linux32
services: docker
before_install:
# note: this will affect shell environment so we need to source it
# instead of just executing
- source ci/travis_before.sh
# note: there is cython issue when python2.7 is installed using pyenv
# note: but it is required to run everything in virtualenv
- if [[ "$PY_VERSION" == "2.7" ]]; then virtualenv build-env; fi
- if [[ "$PY_VERSION" == "2.7" ]]; then source build-env/bin/activate; fi
install:
# simply for logging
- python --version
# python requirements needed to create distribution
- python -m pip install wheel
# get latest version of all submodules (gorilla audio)
- git submodule update --init --recursive
script:
- ./ci/travis_build.sh
after_success:
# note: on certain environments there may be a problem with installing
# dropbox without virtualenv
- virtualenv dist-env
- source dist-env/bin/activate
- python -m pip install dropbox
# note: we upload dists only on master commits
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then python dropbox_upload.py; fi