-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
43 lines (39 loc) · 1.76 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
language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "3.6"
- "3.7"
- "3.8"
install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Replace dep1 dep2 ... with your dependencies
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy cython
- source activate test-environment
- pip install -r requirements.txt
- python setup.py develop
script:
- py.test --cov=symlens tests/ -m webtest
deploy:
provider: pypi
skip_cleanup: true
distributions: sdist bdist_wheel
user: msyriac
password:
secure: ePiaFLmgsquKa+jL51apTsofEKiZoGPKG+vaa/K+j+FW25karfBcAcSDvGb6ZA3up0au2GKbarX0NYs67PFkdlXowhB1jC3Vy7xN5AC61ZqZamvZW9kdnN+SUzJlcvm9LduGzI66hoj7INLtLnEL6sICcKYh8KF6CqpHoaLuKWVekc97uyXLhQKjMJEisfP54/R7yXJD/qLjM2oNnRpHYw8GOywk4FljXKxTbZQvo3a6ABpTFYbN1o5Q1VU4yRgDD2tliN1D2vn8w0hU+zykzkTgXk5LpQIR3AqTOXK84IqyL43MxHSfaSdysGveHyXsOdhJSDUXXpb7OaCyLbx4niDb+w05f5uzrOgq4GtGUgQqA/ykNSc6tbnpHqtOtOezfZCm6f9Z90hU1IklNyjzIfZOMbserVVDPa5u33RKYCpaXFasLnV4xYoNllD+ERBF1rIVlEs2+E7ngojs/gdxpNGL5WD2M+Mkx3OSNdUhMNhXMg7+QR1fcbFPsHIJDTITedtEQPtC+kDBQR/C6enRrMiApX+dT49FkHhNzCo5s4el77eHIg3gHP0pEccLCont5RDvAQFbZQYkQyevo/cF0zcR6T3Ey+Y0AJYEKMgjKmffpRttBMki+Or9+vCyS+RoXCmTkkNqM+nfxuDLxehpBQnfVXYfiu/UKRSunCL57YU=
on:
tags: true
repo: simonsobs/symlens
python: 3.6
addons:
apt_packages:
- gfortran