forked from cvxgrp/cvxpylayers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (37 loc) · 2.49 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
matrix:
include:
- os: linux
dist: xenial
language: python
python: "3.6"
- os: linux
dist: xenial
language: python
python: "3.7"
- os: linux
dist: bionic
language: python
python: "3.6"
- os: linux
dist: bionic
language: python
python: "3.7"
before_install:
- sudo apt-get install liblapack-dev
- sudo apt-get install ffmpeg
install:
- pip install --upgrade pip
- pip install jax==0.2.12 jaxlib==0.1.64
- pip install tensorflow pytest flake8 jupyter matplotlib sklearn tqdm
- pip install torch==1.3.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
- pip install .
script:
- pytest
- flake8 cvxpylayers
- jupyter nbconvert --ExecutePreprocessor.timeout=None --to notebook --execute examples/torch/data_poisoning_attack.ipynb examples/torch/convex_approximate_dynamic_programming.ipynb
- jupyter nbconvert --ExecutePreprocessor.timeout=None --to notebook --execute examples/tf/data_poisoning_attack.ipynb examples/tf/convex_approximate_dynamic_programming.ipynb
notifications:
email:
# generated using travis encrypt, to prevent spam from forks
- secure: "x7vPeYt/KnwiBHd8SykS8orTMyzQYJOBdZTi/AHQQDueCC+Fu9Z+PH+49t7OtoPYbWXNk74p1GhafyJgQUx4byUunM8+ULHYJ9zx+yZTvNUBD0h+iroZTaPSoz/bocPy5gjB7N7YYRWKsXDq/xnhPhiK3s6ANg2ljsiwA1t90zHC0Z1W4+jNWtAYOthELiWuoMVDnRyZ0zU8IRL/NpHXf+ApalVsm3CgJltLtT+EM1+SjVyorBLCkTGo5vFgweHpyi9VZBzonQQ0djvLgQCgMlczsNmqACliYq6YbFWMUvovuCyozomnElHgxgj4UI3slH4aeX5avnhosRbCAY5q3ldmXeLYjf79SdMKGktmq7RQvw1nXGsfg8xPMMQSyfiNgzPpq/bT/NTzyYn8NmB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