-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
120 lines (120 loc) · 5.06 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
sudo: false
language: python
cache:
bundler: true
directories:
- "$HOME/.cache/pip"
- "$HOME/.npm"
- "$HOME/.cache/shuup/admin"
- "$HOME/.cache/shuup/front"
- "$HOME/.cache/shuup/gdpr"
- "$HOME/.cache/shuup/regions"
- "$HOME/.cache/shuup/notify"
- "$HOME/.cache/shuup/classic_gray"
- "$HOME/.cache/shuup/xtheme"
- shuup/admin/node_modules
- shuup/front/node_modules
- shuup/gdpr/node_modules
- shuup/notify/node_modules
- shuup/regions/node_modules
- shuup/themes/classic_gray/node_modules
- shuup/xtheme/node_modules
jobs:
include:
- {stage: development, env: TOXENV=sanity, name: "Sanity Check"}
- {stage: development, env: TOXENV=flake8, name: "Code Style"}
- {stage: development, env: TOXENV=license_headers, name: "License Headers"}
- {stage: development, env: TOXENV=migrations, name: "Migrations"}
- {stage: development, python: 2.7, env: TOXENV=py27-django19-nomigrations}
- {stage: development, python: 3.6, env: TOXENV=py36-django111-nomigrations}
- {stage: development, python: 3.4, env: TOXENV=py34-django18-nomigrations}
- {stage: deploy, python: 2.7, env: TOXENV=py27-django18-nomigrations}
- {stage: deploy, python: 3.5, env: TOXENV=py35-django19-nomigrations}
- {stage: deploy, python: 3.6, env: TOXENV=py36-django19-nomigrations}
- {stage: deploy, python: 2.7, env: TOXENV=py27-django111-nomigrations}
- {stage: deploy, python: 3.5, env: TOXENV=py35-django111-nomigrations}
- stage: development
python: 3.6
env: TOXENV=py36-django111-nomigrations-nocoverage-browser-travis-admin
addons:
firefox: "latest"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver*.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "nvm install 10"
- "nvm use 10"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g [email protected]"
- "selenium-standalone install"
- "selenium-standalone start &"
- stage: development
python: 3.6
env: TOXENV=py36-django111-nomigrations-nocoverage-browser-travis-front
addons:
firefox: "latest"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver*.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "nvm install 10"
- "nvm use 10"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g [email protected]"
- "selenium-standalone install"
- "selenium-standalone start &"
- stage: deploy
python: 3.5
env: TOXENV=py35-django19-nomigrations-nocoverage-browser-travis-admin
addons:
firefox: "latest"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver*.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "nvm install 10"
- "nvm use 10"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g [email protected]"
- "selenium-standalone install"
- "selenium-standalone start &"
- stage: deploy
python: 3.5
env: TOXENV=py35-django19-nomigrations-nocoverage-browser-travis-front
addons:
firefox: "latest"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver*.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "nvm install 10"
- "nvm use 10"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g [email protected]"
- "selenium-standalone install"
- "selenium-standalone start &"
stages:
- development
- name: deploy
if: type != pull_request
install:
- pip install -U pip
- pip install tox
- pip install coveralls
- pip install codecov
script:
- tox -vv
after_success:
- coveralls
- codecov
notifications:
slack:
secure: mkYYYt9ZQc6vR1aJltnEF1DzZ5xsNmllNcdK8fCwjeK5ZOnB1atujZ08tYxx/t57gaxhMWyJHvKdD0gvyQS6R/pAO2epXY9NqOhPVDEhqtXBpd7wUcEMTQqjSy68FSTjO94O8suC18xB55Cq+KSxm8jJt6zSFsjoffhz+4QIA67rkiNPLmAw2AHYymvVaidWMDe5UUGD7qONmdFI5wx4wOE9veboWDQ49oygiq+c4NFC/d4C108jT7l9ZTko/JF7Bim3VQI0LprGuIH2tZ6TI/3LWEhQX6XXuGr6eXuTF3nQp470yRXRs50Gh+CSY++ZUgFdRfOlg0edHt9m2Lk8j2jfeLgXYWYy1QSCnJDPRzzVIkEP4xaZCcIK7pcckV0Ytn7BP3Y09MDzSvt3+0Cm7ou16shiyy5NqW5DonarN21Mlz9/auZPawsXJqYZVDIZQiM7GLJnpg9wBfgKlPxUZKwi5ttsvrS7iPNK1sSLmICFqukrQlMQnpY5h45uGXsqL7fI7z30Ftld6qIGGVFdFjh3K+4dVXV5XKHnynaR518JvugxLwrNcIWwpyB2I3Ak7AsMzd3IWnY4yrB6pSbVdG0W3zZYXR6GUsYmxICKv5pUVnRKtp2tgOKA3EwgnVjSkJahGPp5bc3xJN8mNOaR33f3kieM5jJcNteEWueX+eA=