forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 993 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
51
52
53
language: python
sudo: false
python:
- "3.5"
- "3.6"
cache:
pip: true
directories:
- node_modules
install:
- pip install -U pip setuptools wheel
- pip install tox-travis codecov
- nvm install 10
- npm i
- npm run build-assets --production
- npm run build-emails
script:
- npm run test
- tox
env:
global:
- DJANGO_SETTINGS_MODULE=tests.settings
- DATABASE_URL='postgres://postgres@localhost:5432/saleor'
matrix:
- DJANGO="1.11"
- DJANGO="2.1"
- DJANGO="master"
matrix:
include:
- python: "3.7"
sudo: required
dist: xenial
env: DJANGO="2.1"
- python: "3.7"
sudo: required
dist: xenial
env: DJANGO="master"
fast_finish: true
allow_failures:
- python: "3.5"
env: DJANGO="master"
- python: "3.6"
env: DJANGO="master"
- python: "3.7"
env: DJANGO="master"
sudo: required
dist: xenial
after_success:
- codecov
services:
- postgresql
addons:
postgresql: 9.6