forked from cvxgrp/cvxpylayers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (43 loc) · 1.04 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
matrix:
include:
- os: linux
dist: xenial
language: python
python: "3.5"
- 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.5"
- 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 tensorflow pytest flake8 jupyter matplotlib sklearn
- 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/*.ipynb
- jupyter nbconvert --ExecutePreprocessor.timeout=None --to notebook --execute examples/tf/*.ipynb
notifications:
email:
- stbarratt@gmail.com
- akshaykagrawal7@gmail.com