forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
132 lines (118 loc) · 2.85 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
language: python
sudo: false
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
install:
- pip install tox-travis coveralls
branches:
only:
- master
- develop
before_script:
- if [ "$FRONTEND" == "yes" ]; then nvm install 0.12.7 && nvm use 0.12.7; fi
- if [ "$FRONTEND" == "yes" ]; then npm config set spin false; fi
- if [ "$FRONTEND" == "yes" ]; then npm install -g npm@2; fi
- if [ "$FRONTEND" == "yes" ]; then npm install -g [email protected]; fi
- if [ "$FRONTEND" == "yes" ]; then npm install; fi
script:
- tox
after_success:
- coveralls --config_file=.coveragerc
- mkdir -p shippable/codecoverage && cp coverage.xml shippable/codecoverage/coverage.xml
env:
- DJANGO="1.8" SWAP="no"
- DJANGO="1.8" SWAP="yes"
- DJANGO="1.9" SWAP="no"
- DJANGO="1.9" SWAP="yes"
- DJANGO="1.10" SWAP="no"
- DJANGO="1.10" SWAP="yes"
- DJANGO="1.11" SWAP="no"
- DJANGO="1.11" SWAP="yes"
matrix:
include:
- env: DOCS="yes"
python: "3.6"
- env: FLAKE8="yes"
python: "3.6"
- env: FRONTEND="yes"
python: "3.6"
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.8" SWAP="no"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.9" SWAP="no"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.10" SWAP="no"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.11" SWAP="no"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.8" SWAP="yes"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.9" SWAP="yes"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.10" SWAP="yes"
osx_image: xcode7.3
- os: osx
language: generic
python: "2.7"
env: DJANGO="1.11" SWAP="yes"
osx_image: xcode7.3
- os: linux
python: "3.4"
env: DJANGO="master" SWAP="yes"
- os: linux
python: "3.5"
env: DJANGO="master" SWAP="yes"
- os: linux
python: "3.6"
env: DJANGO="master" SWAP="yes"
- os: linux
python: "3.4"
env: DJANGO="master" SWAP="no"
- os: linux
python: "3.5"
env: DJANGO="master" SWAP="no"
- os: linux
python: "3.6"
env: DJANGO="master" SWAP="no"
allow_failures:
- os: linux
python: "3.4"
env: DJANGO="master" SWAP="no"
- os: linux
python: "3.5"
env: DJANGO="master" SWAP="no"
- os: linux
python: "3.6"
env: DJANGO="master" SWAP="no"
- os: linux
python: "3.4"
env: DJANGO="master" SWAP="yes"
- os: linux
python: "3.5"
env: DJANGO="master" SWAP="yes"
- os: linux
python: "3.6"
env: DJANGO="master" SWAP="yes"