forked from cvxpy/cvxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 889 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
language: C
os:
- osx
- linux
env:
matrix:
- DISTRIB="conda" PYTHON_VERSION="2.7" INSTALL_ATLAS="true"
NUMPY_VERSION="1.14" SCIPY_VERSION="0.19"
COVERAGE="true"
DEPLOY_PYPI="false"
- DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_ATLAS="true"
NUMPY_VERSION="1.14" SCIPY_VERSION="0.19"
COVERAGE="true"
DEPLOY_PYPI="false"
- DISTRIB="conda" PYTHON_VERSION="3.6" INSTALL_ATLAS="true"
NUMPY_VERSION="1.14" SCIPY_VERSION="0.19"
COVERAGE="true"
DEPLOY_PYPI="true"
PYPI_SERVER="https://upload.pypi.org/legacy/"
sudo: required
install: source continuous_integration/install.sh
script:
- bash continuous_integration/test_script.sh
- flake8 .
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls; fi
deploy:
provider: script
script: bash continuous_integration/deploy_script.sh
on:
branch: master