forked from divio/aldryn-newsblog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
98 lines (87 loc) · 2.98 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
language: python
python: 3.5
# Use container based infrastructure
sudo: false
addons:
apt:
packages:
- libenchant-dev
env:
global:
# encrypted Sauce Labs sub-account user name
- secure: RGXS2qmljsyLVGEifz9yvLwdg33KxPDeuwHx0QFmjSkQuJZP92Xxl36qr6rNel52L+39oya8BGD/ddB6RNI6R5TsoOvQGMlrVZmYy4d8EPA7J8u3+Mpp1zQGK1ACmcnVm+5h8dbHeWtZW/1SovnclUYem16KUmQf35l9G9tKc/I=
# encrypted Sauce Labs sub-account token
- secure: Lt1n+6a4hj7BuShOufWfiAF3aTC4B6xpHwwcbklVy+fdy4pkY3okXO9CFtWkOTBRrFrgc8R+PL9dZ6ObK3SE1w7LU3dur89uIvJ4RXQ1uROr40PXAxD8RO+/2wp7nhh6CmG7GEKpuKt5QHbgdFVrJtmyoPp4vco1pU86njtEico=
# encrypted Code Climate token
- secure: Jq2JBTBMYLpnrwk6uuAWGOX4y+TEVkBuwSZywSrlKb9sW77DloxRfGXH81Q9juvaAy4KqtcGY6HE5vqJSo77MS/cmbtmZe4ypPKgVFy2YDDUGdLi65vEjkerjAmtS7bYBVur+fWG0mpYAmnfj06d0MgkBgwgCr4yLbJFtW8ElAM=
matrix:
include:
- python: '3.5'
env: TOXENV=flake8
- python: '3.6'
env: TOXENV=py36-dj111-sqlite-cms35
- python: '3.5'
env: TOXENV=py35-dj111-sqlite-cms35
- python: '3.5'
env: TOXENV=py35-dj110-sqlite-cms34
- python: '3.5'
env: TOXENV=py35-dj19-sqlite-cms34-reversion
- python: '3.5'
env: TOXENV=py35-dj19-sqlite-cms34
- python: '3.5'
env: TOXENV=py35-dj19-sqlite-cms33-fe FE=1
- python: '2.7'
env: TOXENV=py27-dj111-sqlite-cms34
- python: '2.7'
env: TOXENV=py27-dj110-sqlite-cms34
- python: '2.7'
env: TOXENV=py27-dj19-sqlite-cms34
- python: '2.7'
env: TOXENV=py27-dj19-sqlite-cms33
- python: '2.7'
env: TOXENV=py27-dj19-sqlite-cms32
- python: '3.5'
env: TOXENV=py35-dj18-sqlite-cms34-reversion
- python: '3.5'
env: TOXENV=py35-dj18-sqlite-cms34
- python: '3.5'
env: TOXENV=py35-dj18-sqlite-cms33
- python: '3.5'
env: TOXENV=py35-dj18-sqlite-cms32
- python: '2.7'
env: TOXENV=py27-dj18-sqlite-cms34
- python: '2.7'
env: TOXENV=py27-dj18-sqlite-cms33-fe FE=1
- python: '2.7'
env: TOXENV=py27-dj18-sqlite-cms32
allow_failures:
- python: '2.7'
env: TOXENV=py27-dj18-sqlite-cms33-fe FE=1
- python: '3.5'
env: TOXENV=py35-dj19-sqlite-cms33-fe FE=1
- python: '3.6'
env: TOXENV=py36-dj111-sqlite-cms35
- python: '3.5'
env: TOXENV=py35-dj111-sqlite-cms35
- python: '2.7'
env: TOXENV=py27-dj111-sqlite-cms34
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
after_script:
- codeclimate < tests/coverage/**/lcov.info
script:
- tox -e $TOXENV
after_success: coveralls
notifications:
webhooks: http://addons.us-iad-rs.aldryn.io/en/travis-endpoint/