forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 1004 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
language: C
os:
- osx
- linux
env:
matrix:
- DISTRIB="conda" PYTHON_VERSION="3.5" CVXOPT="true"
NUMPY_VERSION="1.15" SCIPY_VERSION="1.1.0"
COVERAGE="false"
DEPLOY_PYPI_SOURCE="False"
- DISTRIB="conda" PYTHON_VERSION="3.6" CVXOPT="true"
NUMPY_VERSION="1.15" SCIPY_VERSION="1.1.0"
COVERAGE="false"
DEPLOY_PYPI_SOURCE="True"
- DISTRIB="conda" PYTHON_VERSION="3.7" CVXOPT="true"
NUMPY_VERSION="1.15" SCIPY_VERSION="1.1.0"
COVERAGE="false"
DEPLOY_PYPI_SOURCE="False"
sudo: required
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then CC=g++ ; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then CXX=g++; fi
install: source continuous_integration/Travis/install_dependencies.sh
script:
- bash continuous_integration/Travis/test_script.sh
- flake8 .
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls; fi
deploy:
provider: script
script: bash continuous_integration/Travis/deploy_script.sh
on:
branch: master