forked from shuup/shuup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.55 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
sudo: false
language: python
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/.cache/shuup/build_resources"
env:
- TOX_ENV=sanity
- TOX_ENV=flake8
- TOX_ENV=isort
- TOX_ENV=license_headers
matrix:
include:
- python: 2.7
env: TOX_ENV=py27-nomigrations
- python: 3.4
env: TOX_ENV=py34-nomigrations
- python: 3.5
env: TOX_ENV=py35-nomigrations
- python: 3.5
env: TOX_ENV=py35-nomigrations-nocoverage-browser
install:
- pip install -U pip
- pip install tox
- pip install coveralls
before_install:
- "nvm install 4"
- "nvm use 4"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm install -g [email protected]"
- "selenium-standalone install"
- "selenium-standalone start &"
script:
- tox -e $TOX_ENV
after_success: test $TOX_ENV = py35-nomigrations && coveralls
notifications:
slack:
secure: mkYYYt9ZQc6vR1aJltnEF1DzZ5xsNmllNcdK8fCwjeK5ZOnB1atujZ08tYxx/t57gaxhMWyJHvKdD0gvyQS6R/pAO2epXY9NqOhPVDEhqtXBpd7wUcEMTQqjSy68FSTjO94O8suC18xB55Cq+KSxm8jJt6zSFsjoffhz+4QIA67rkiNPLmAw2AHYymvVaidWMDe5UUGD7qONmdFI5wx4wOE9veboWDQ49oygiq+c4NFC/d4C108jT7l9ZTko/JF7Bim3VQI0LprGuIH2tZ6TI/3LWEhQX6XXuGr6eXuTF3nQp470yRXRs50Gh+CSY++ZUgFdRfOlg0edHt9m2Lk8j2jfeLgXYWYy1QSCnJDPRzzVIkEP4xaZCcIK7pcckV0Ytn7BP3Y09MDzSvt3+0Cm7ou16shiyy5NqW5DonarN21Mlz9/auZPawsXJqYZVDIZQiM7GLJnpg9wBfgKlPxUZKwi5ttsvrS7iPNK1sSLmICFqukrQlMQnpY5h45uGXsqL7fI7z30Ftld6qIGGVFdFjh3K+4dVXV5XKHnynaR518JvugxLwrNcIWwpyB2I3Ak7AsMzd3IWnY4yrB6pSbVdG0W3zZYXR6GUsYmxICKv5pUVnRKtp2tgOKA3EwgnVjSkJahGPp5bc3xJN8mNOaR33f3kieM5jJcNteEWueX+eA=