forked from exercism/python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (44 loc) · 1.28 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
language: python
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
- nightly
matrix:
include:
# Python 3.4 not supported in xenial
- python: 3.4
dist: trusty
- env: JOB=HOUSEKEEPING
python: 3.7
install:
- ./bin/fetch-configlet
- git clone https://github.com/exercism/problem-specifications spec
- pip install -r requirements-generator.txt
before_script: ./bin/check-readmes.sh
script:
- bin/generate_tests.py -p spec --check
# May provide more useful output than configlet fmt
# if JSON is not valid or items are incomplete
- ./bin/configlet lint .
# Verify correct formatting in config.json
- ./bin/configlet fmt . && git diff --quiet
- env: JOB=CANONICAL_SYNC
python: 3.7
install:
- pip install requests
- pip install -r requirements-generator.txt
- git clone https://github.com/exercism/problem-specifications spec
before_script: []
script:
- echo "Test Version Status" && ./bin/check-test-version.py -p spec
- echo "Test Template Status" && ./bin/template_status.py -v -p spec
allow_failures:
- python: nightly
- env: JOB=CANONICAL_SYNC
before_script:
- flake8
script:
- ./test/check-exercises.py