-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
53 lines (45 loc) · 868 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
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
services:
- mysql
env:
global:
- DJANGO_SETTINGS_MODULE="puzzlehunt_server.settings.travis_settings"
- DB=mysql
matrix:
- DJANGO=1.8.*
- DJANGO=1.9.*
- DJANGO=1.10.*
- DJANGO=1.11.*
- DJANGO=2.0.*
- DJANGO=2.1.*
matrix:
exclude:
- python: 3.6
env: DJANGO=1.8
- python: 3.6
env: DJANGO=1.9
- python: 3.6
env: DJANGO=1.10
- python: 2.7
env: DJANGO=2.0
- python: 2.7
env: DJANGO=2.1
- python: 3.4
env: DJANGO=2.1
install:
- pip install -q Django==$DJANGO
- pip install -r requirements.txt
- pip install coveralls
- pip freeze
- mkdir -p ./media/puzzles
before_script:
- mysql -e 'create database puzzlehunt_db;' -u root
script:
- python manage.py test
after_success:
- coveralls