forked from equadratures/equadratures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (52 loc) · 1.46 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
52
53
54
55
56
57
58
59
60
61
cache: apt
sudo: false
language: python
python:
- "3.5"
- "3.6"
# - "3.7"
- "3.8"
- "3.9"
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
notifications:
email: false
# blocklist
# Block all /*feature*/ branches
# Anything within /_>/ is treated as a Regex
#branches:
# except:
# - /*feature*/
# safelist
# Only Build and Test changes of the master and develop branches
branches:
only:
- master
- develop
#before_install:
# - travis_retry wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
# - chmod +x miniconda.sh
# - bash miniconda.sh -b -p $HOME/miniconda
# - export PATH=/home/travis/miniconda/bin:$PATH
# - conda update --yes conda
install:
- pip install numpy scipy matplotlib seaborn pip nose
- pip install cvxpy
- pip install tensorflow=1.15.2 pymanopt
- python setup.py install
# - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
# - source activate test
# - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then conda install --yes nomkl; fi
# - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib seaborn pip nose
# - conda install --yes -c conda-forge python=$TRAVIS_PYTHON_VERSION cvxpy
# - conda install --yes tensorflow=1.15.2 pymanopt
# - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install -U numpy; fi
# - pip install setuptools coveralls
# - python setup.py install
script: coverage run test.py tests/*
after_success:
coveralls