File tree Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This file is managed by 'repo_helper'. Don't edit it directly.
2
+ ---
3
+ name : Conda Tests
4
+
5
+ on :
6
+ push :
7
+ pull_request :
8
+ branches : ["master"]
9
+
10
+ jobs :
11
+ tests :
12
+ name : " Python ${{ matrix.python-version }}"
13
+ runs-on : ubuntu-latest
14
+
15
+ strategy :
16
+ fail-fast : False
17
+ matrix :
18
+ python-version : ["3.6","3.7","3.8","3.9"]
19
+
20
+ steps :
21
+ - name : Checkout 🛎️
22
+ uses : " actions/checkout@v2"
23
+ - name : Setup Python 🐍
24
+ uses : " actions/setup-python@v2"
25
+ with :
26
+ python-version : " ${{ matrix.python-version }}"
27
+ - name : Install dependencies 🔧
28
+ run : |
29
+ python -VV
30
+ python -m site
31
+ python -m pip install --upgrade pip setuptools wheel
32
+ python -m pip install --upgrade repo_helper
33
+ # $CONDA is an environment variable pointing to the root of the miniconda directory
34
+ $CONDA/bin/conda update -q conda
35
+
36
+ $CONDA/bin/conda config --add channels domdfcoding
37
+
38
+ $CONDA/bin/conda config --add channels conda-forge
39
+
40
+
41
+ - name : " Build and install package"
42
+ run : |
43
+ # This mess is only necessary because conda won't fix it themselves
44
+ # https://github.com/conda/conda/issues/1884
45
+ python -m repo_helper build --conda --out-dir conda-bld/noarch
46
+ $CONDA/bin/conda install domdf_python_tools -c local -y || exit 1
Original file line number Diff line number Diff line change 72
72
apt :
73
73
update : true
74
74
install :
75
- - pip install rst2txt yolk3k
76
75
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
77
76
- bash miniconda.sh -b -p $HOME/miniconda
78
77
- chmod +x .ci/travis_deploy_conda.sh
You can’t perform that action at this time.
0 commit comments