File: .travis.yml

package info (click to toggle)
django-sass-processor 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 244 kB
  • sloc: python: 826; makefile: 4
file content (34 lines) | stat: -rw-r--r-- 805 bytes parent folder | download
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
dist: xenial

language: python

python:
  - 3.5
  - 3.6
  - 3.7
  - 3.8

env:
  - DJANGOVER=django111
  - DJANGOVER=django20
  - DJANGOVER=django21
  - DJANGOVER=django22
  - DJANGOVER=django30
  - DJANGOVER=django31

matrix:
  exclude:
    - python: 3.5
      env: DJANGOVER=django30
    - python: 3.5
      env: DJANGOVER=django31

install:
  - pip install tox

script:
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.5' && $DJANGOVER ]]; then export TOX_ENV=py35-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.6' && $DJANGOVER ]]; then export TOX_ENV=py36-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' && $DJANGOVER ]]; then export TOX_ENV=py37-$DJANGOVER; fi"
  - "if [[ $TRAVIS_PYTHON_VERSION == '3.8' && $DJANGOVER ]]; then export TOX_ENV=py38-$DJANGOVER; fi"
  - tox -r -e "$TOX_ENV"