forked from DMOJ/martor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (64 loc) · 1.68 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: python
sudo: false
matrix:
include:
- python: 3.4
env: DJANGO="==1.8.*"
- python: 3.4
env: DJANGO="==1.9.*"
- python: 3.4
env: DJANGO="==1.10.*"
- python: 3.4
env: DJANGO="==1.11.*"
- python: 3.5
env: DJANGO="==1.8.*"
- python: 3.5
env: DJANGO="==1.9.*"
- python: 3.5
env: DJANGO="==1.10.*"
- python: 3.5
env: DJANGO="==1.11.*"
- python: 3.5
env: DJANGO="==2.0.*"
- python: 3.5
env: DJANGO="==2.1.*"
- python: 3.5
env: DJANGO="==2.2.*"
- python: 3.6
env: DJANGO="==1.8.*"
- python: 3.6
env: DJANGO="==1.9.*"
- python: 3.6
env: DJANGO="==1.10.*"
- python: 3.6
env: DJANGO="==1.11.*"
- python: 3.6
env: DJANGO="==2.0.*"
- python: 3.6
env: DJANGO="==2.1.*"
- python: 3.6
env: DJANGO="==2.2.*"
- python: 3.6
env: DJANGO=">=3.0a1,<3.1"
- python: 3.7
env: DJANGO="==2.0.*"
- python: 3.7
env: DJANGO="==2.1.*"
- python: 3.7
env: DJANGO="==2.2.*"
- python: 3.7
env: DJANGO=">=3.0a1,<3.1"
- os: osx
language: generic
env: DJANGO="==1.10.*"
# Perform the manual steps on OSX to install Python3 and activate venv:
# Since Python versions have been tested on Linux and it is only a matter of
# system architecture, OSX tests will only run on one Python 3 + latest stable
# release for Django.
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 -m venv env ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source env/bin/activate ; fi
install:
- pip install -q django$DJANGO
- python setup.py install
script: python runtests.py