forked from fact-project/aict-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (42 loc) · 1.5 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
language: python
env:
global:
- MPLBACKEND=agg
- JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- JDK_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- PYTEST_ADDOPTS='--color=yes'
matrix:
include:
- python: '3.6'
env:
- EXTRAS="all"
- python: '3.7'
env:
- EXTRAS="all"
- python: '3.8'
env:
- EXTRAS="pmml, cta" # no 3.8 support for onnx yet
before_install:
- pip install --upgrade pip
- pip install Cython
install:
- pip install ".[$EXTRAS]"
script:
- python setup.py test
deploy:
provider: pypi
skip_cleanup: true
distributions: sdist
user: fact-deploybot
password:
secure: PQwYVK0/8W0jmb1EUUL0qzA3rsXJSbEhixo0L+tlryCIHPisJoDBcVyzYzmRwXPRTZ5X6vUKYZ3MTQE5zCjbJ8oe88mASZ/auXoMnm2FCMsr79qNy6v1WPoV+HXid6eragdoepsSf+gTlOSl8AivAnK02wsM9iHwJqbVCqCObtUd6MUpTqtp0tZtirIErj3KS1uC6wfh/z0h9u0JIsvfENCxDwZVKskq6BVfDeYqeJuQemugO7C9ucWHZdcovTRw46XStsSNYMoOuT8ORh14/N4N5CqnjH8RZQazkjAvM73L+JJkk74/tjzMjcXZMhFPIIyWNpVgtQzg9+DA80DORBNpCL7UlxhJnIPNt3/ii19F1KERccCxuy5BCGBFS6kom5uE6dr6zPsBOHno+38TSUu6B/agMv0drxmxCAQjzZO015LK3RSqPXvwKlfokH9CdMx2Z+6qRwNl0IJvwio78bDIRlqxQ6pDoLmyd6hL3FSNuuCDY4s1H+kMWpOwVVJOPXttSWxi4fw9uAvadF8f611rygHGWe4dxbfDFnoDAsTfS4Z3C1oWJ30LINYo1SKZRAJ7CgzIJEqW2/xGoIlovmXz8J6eYP1MhlG8ldIaM+D3IXBYrxpr5ocJZMj8lXlpbQCgkipcvx+WExWPhgQ3TH8QlSv4sowUQLXJ1SMW5Yg=
on:
branch: master
tags: true
condition: $TRAVIS_PYTHON_VERSION = '3.7'
addons:
apt:
packages:
- libhdf5-dev
- libhdf5-serial-dev
- openjdk-8-jdk