Skip to content

Commit 58fc826

Browse files
committed
Use conda for installation
1 parent f8ec9bc commit 58fc826

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
language: python
2-
dist: focal
2+
3+
before_install:
4+
# Install conda
5+
- export MINICONDA=${HOME}/miniconda
6+
- export PATH=${MINICONDA}/bin:${PATH}
7+
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
8+
- bash miniconda.sh -b -f -p ${MINICONDA}
9+
- conda config --set always_yes yes
10+
- conda config --add channels defaults
11+
- conda config --add channels conda-forge
312

413
install:
5-
- sudo apt-get update && sudo apt-get install -y libisal-dev
6-
- pip install tox
14+
- conda install $TRAVIS_PYTHON_VERSION tox isa-l
715

816
python: 3.6 # Use the oldest supported version of python as default.
917
script:

0 commit comments

Comments
 (0)