-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 loc) · 1.72 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
language: python
python:
- 3.7
- 3.8
- 3.9
install:
- sudo apt-get update
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
-O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- 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
- conda info -a
- conda install mamba -c conda-forge
- mamba create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- pip install -r requirements.txt
- python setup.py install
script:
- solida -v
- solida info
- solida setup -l dima -p dima
- solida setup -l dima -p dima --create-profile
- solida setup -l dima -p dima --deploy
- solida refresh
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: gmauro
password:
secure: ktKsH09bxc9t4OI5d4xr4/IeKU21I1/PLXVWbsgOB0j+3TJnAzph0Dz4LA6/V1PCDS5szSax+GvOffQ4SkvB+q9QwkFyP8Oq4ey6BcgsRZHknAiBtxSGaT+cftJUIzascnDyXXYO6gX0uOK0juBXPobKrJgLFRYU2h3wfn0H/b1zlkdWF54WBaHtOi1Vz42KbKoqwiPQfiUdAbaOUXRQwT6Kxm3eqPhO9mD9yPgLMaFIpDp1hWZK5pLGRdk5plxqIn+l5hE2U7Av/HUnzvE6vMFWyEb8lv8CI+WsdJCJ9Wgw8oBA+qKX8pbrwuUIogKGMFXWdaEWU+nObUymezf8tgciFCZ7k4VDupA67d7hjb9+uf7iE5PI0KymBvzm/i/dVKkXZ5Ram5cAmsxhup/NXvFVgJSIebavLn86VOegMceTA38FPedf4eSC0uyheQqZdSwR9VdlWbPGjnYhz+ccL2beS4UZ0t4gOMeRFJrxQ0XiDLUe1BUE0gOzTzIu2exEs9XSgK3edgaSM8/wrIj0Y2DaWAnnqr62l0AVJ/JD/5aMjDpiIVEYoM8X4hn2MRCAhbWKDGngHGowZX2M1dRfLrGiAdcPIxhEa+WfeM3QyqTnQBo2aqmsRiqeoMzw8E/5Nlkt6/qGXy62TjKKY9p2dnSppgAE0XkGMLa+FujYKBQ=
on:
tags: true
repo: solida-core/solida
condition: $TRAVIS_PYTHON_VERSION = "3.7"