forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 1.25 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
language: python
cache:
pip: true
yarn: true
directories:
- node_modules
sudo: false
addons:
apt:
sources:
- deadsnakes
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
packages:
- python3.5
- python3.5-dev
- yarn
install:
- pip install -U pip setuptools wheel
- pip install tox codecov
- nvm install 6
- yarn
- yarn add --force node-sass # force our way around https://github.com/yarnpkg/yarn/issues/1981
- yarn run build-assets
script:
- tox
env:
global:
- DJANGO_SETTINGS_MODULE=tests.settings
- DATABASE_URL='postgres://postgres@localhost:5432/saleor'
matrix:
- TOXENV=py27-django18
- TOXENV=py27-django110
- TOXENV=py27-django111
- TOXENV=py34-django18
- TOXENV=py34-django110
- TOXENV=py34-django111
- TOXENV=py34-django_master
- TOXENV=py35-django18
- TOXENV=py35-django110
- TOXENV=py35-django111
- TOXENV=py35-django_master
matrix:
allow_failures:
- env: TOXENV=py27-django111
- env: TOXENV=py34-django111
- env: TOXENV=py35-django111
- env: TOXENV=py34-django_master
- env: TOXENV=py35-django_master
after_success:
- codecov
services:
- postgresql