forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
50 lines (50 loc) · 935 Bytes
/
.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
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
cache:
pip: true
directories:
- node_modules
install:
- pip install -U pip setuptools wheel
- pip install tox-travis codecov
- nvm install 8
- npm i
- npm run build-assets --production
script:
- tox
env:
global:
- DJANGO_SETTINGS_MODULE=tests.settings
- DATABASE_URL='postgres://postgres@localhost:5432/saleor'
matrix:
- DJANGO="1.11"
- DJANGO="2.0"
- DJANGO="master"
matrix:
allow_failures:
- python: "3.4"
env: DJANGO="2.0"
- python: "3.4"
env: DJANGO="master"
- python: "3.5"
env: DJANGO="2.0"
- python: "3.5"
env: DJANGO="master"
- python: "3.6"
env: DJANGO="2.0"
- python: "3.6"
env: DJANGO="master"
exclude:
- python: "2.7"
env: DJANGO="2.0"
- python: "2.7"
env: DJANGO="master"
after_success:
- codecov
services:
- postgresql