forked from divio/aldryn-people
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (59 loc) · 2.27 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
62
63
64
65
66
67
68
69
language: python
python: 3.5
sudo: false
env:
global:
# encrypted Sauce Labs sub-account user name
- secure: OIkBwlWwClimhBeKs4kT4Elkp9fx+pjEBKJlZY+TpIXsjqskKgSbsnDkBcQuW9cJoj4qCddRAKOzN/XD3tT+ZAbo/257lSMcDCdslqxehd/JJVCfglANGioMxHUmZ9F5EDrc+ZtnQ40O5tcFNHRgJXR92el931V379zs/9om8LY=
# encrypted Sauce Labs sub-account token
- secure: MWxL/6t1qI3TSIcBDDMtctIlvXjJtOCxMk0Xj4I7vzE5jvhBMhHT+1YBR8Wd8AykzbTmK5XAe4jhhBmlHannm5zRfmua9D+kpvGQH819V46setzluConoXTgPMWE7O9gtVeOiNBuLGD72ELO/X8ZbiYcO/JFsXbad5tNQZ3XTJo=
# encrypted Code Climate token
- secure: oJG/hKhutnzSFCSF8xUuMWmTxeuRp2eU9HBi/7JWVxd3AwDkKu3jtldQ0Vg/2iSofRzzG0wZpUKdgGa4ObOpOou5wWtq68OAVbJkHAtOB7U3HR4deVuQRZdR8GXWWS9G+H1B8PbFCVPzQrsnxHs/k0oBLUgAW8XfFfkhzzYGFKk=
matrix:
# Matrix-size reduction strategies:
# PY strategy: do not test 3.3 at all.
# FE strategy: only test on Django/CMS3.3 combinations, but place tests on
# different Python ENVs if possible.
- TOXENV=flake8
- TOXENV=py35-dj19-cms33-fe FE=1
- TOXENV=py34-dj19-cms33
- TOXENV=py34-dj19-cms32
- TOXENV=py27-dj19-cms33
- TOXENV=py27-dj19-cms32
- TOXENV=py35-dj18-cms33
- TOXENV=py35-dj18-cms32
- TOXENV=py34-dj18-cms33
- TOXENV=py34-dj18-cms31
- TOXENV=py27-dj18-cms33-fe FE=1
- TOXENV=py27-dj18-cms32
- TOXENV=py27-dj18-cms31
- TOXENV=py34-dj17-cms32
- TOXENV=py34-dj17-cms31
- TOXENV=py34-dj17-cms30
- TOXENV=py27-dj17-cms31
- TOXENV=py27-dj17-cms30
- TOXENV=py27-dj16-cms32
- TOXENV=py27-dj16-cms31
- TOXENV=py27-dj16-cms30
- TOXENV=py26-dj16-cms31
- TOXENV=py26-dj16-cms30
cache:
directories:
- $HOME/.wheelhouse
install:
- pip install tox
- pip install coveralls
before_script:
- if [ "$FE" == 1 ]; then nvm install 0.12.7 && nvm use 0.12.7; fi
- if [ "$FE" == 1 ]; then npm config set spin false; fi
- if [ "$FE" == 1 ]; then npm install -g npm@2; fi
- if [ "$FE" == 1 ]; then npm install -g [email protected]; fi
- if [ "$FE" == 1 ]; then npm install -g codeclimate-test-reporter; fi
- if [ "$FE" == 1 ]; then npm install; fi
script:
- tox -e $TOXENV
after_script:
- codeclimate < tests/coverage/**/lcov.info
after_success: coveralls
notifications:
webhooks: http://addons.us-iad-rs.aldryn.io/en/travis-endpoint/