-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
35 lines (34 loc) · 1.53 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
language: python
python:
- '3.8'
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/.conda"
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- if [ $TRAVIS_OS_NAME == "osx" ]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
-O miniconda.sh; fi
- chmod +x miniconda.sh
- "./miniconda.sh -b -p $HOME/miniconda"
- export PATH=$HOME/miniconda/bin:$PATH
- conda update --yes conda
- conda create --yes -n test python=3.8
- source activate test
- conda install --yes pip pytest
- conda install --yes -c conda-forge galsim pyerfa astropy
- conda list
install:
- pip install gast==0.2.2
- pip install tensorflow==2.4.1
- pip install .
script:
- pytest
deploy:
provider: pypi
user: __token__
password:
secure: vuAzLPr/6Nxp4dYH4M4DdBXbwEPlmHMIRPoy2hZhv7f3DWiKwG4xAS+yO34xiJwQuoYdGnDsUxY/pGBQriRsqdKarWBQgPhrRdYXqEFLslWxJXY6K77oCwFhVlqqKCn17ezWDhP2YcR4wQkx+EquWPv3uob9OmEBkiyO/8CWMKsRQ8v1916AFwzNaYGu6j6vfYUTr+3BWdT20py1jcBYNohfz79uOR4vMqScQ+pt9BYj0SVRTeCGby447Y/IHrSz5+lVEYR5JZiDlUlp3L3n4hAGGZKV5rZPF8opkANjR+JZ89n6TWUZFl/s6jLbId/SWsPRqhzGZSxS01t/Y+FwOsInFuvAJm8XdQSKFr378zwK4SIZ4k9+jrLruI8Ug1DopAFifCgJFt+72IxfHta8fdiiDJiXqsNAGuNcpXSIy4UPNdxrBZ38mjEcxAQYZ2AFChDPLUzUV6SljVqB55pCmcutZDNK/i19CzSuqKMp3e9ayRBtIsvuf6B3pZh/iYJg2ISjwJ8eCSf8No6YiADcJv3cvgx7tOw6Q+P+Yh91cpkEk01BK4ZUiRIJtKHCCMd2xOivp5xV7wUEV0bDmf209q1SGcpnFRR0H001WNjm+kJj4pJe2usEjO/SNkidG/SVkr664zWK+fvlcGeYaqaSj1Mpf/GAgHFfoxikOm3prAg=
on:
tags: true