-
Notifications
You must be signed in to change notification settings - Fork 132
/
.travis.yml
42 lines (37 loc) · 993 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
dist: xenial
language: python
cache: pip
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3"
sudo: false
# Define document loaders
env:
- LOADER=requests
- LOADER=aiohttp
matrix:
exclude:
- python: "3.4"
env: LOADER=aiohttp
allow_failures:
- python: "3.4"
- python: "3.5"
install:
- pip install -r requirements.txt
- git clone --depth 1 https://github.com/w3c/json-ld-api.git _json-ld-api
- git clone --depth 1 https://github.com/w3c/json-ld-framing.git _json-ld-framing
- git clone --depth 1 https://github.com/json-ld/normalization.git _normalization
# Download test suite and run tests... submodule? meta testing project with
# all of the reference implementations?
script:
- python tests/runtests.py ./_json-ld-api/tests -l $LOADER
- python tests/runtests.py ./_json-ld-framing/tests -l $LOADER
- python tests/runtests.py ./_normalization/tests -l $LOADER
notifications:
email:
on_success: change
on_failure: change