forked from saleor/saleor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (50 loc) · 927 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
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
- nvm install 10
- npm i
- npm run build-assets --production
- npm run build-emails
script:
- npm run test
- tox
env:
global:
- DATABASE_URL="postgres://postgres@localhost:5432/saleor"
- SECRET_KEY="irrelevant"
matrix:
- DJANGO="2.2"
- DJANGO="master"
matrix:
include:
- python: "3.7"
sudo: required
dist: xenial
env: DJANGO="2.2"
- 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
services:
- postgresql
addons:
postgresql: 9.4